diff options
author | David Phillips <david@sighup.nz> | 2019-04-14 20:09:18 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-08-03 12:43:46 +1200 |
commit | 9d0452db9e2117dd51abd681d271083347676219 (patch) | |
tree | d2686cb4371620ab9b12cf0715437ae729b19c7d /lex.c | |
parent | 3bf3b2a80ef21ac1ac2e43d07b1680432d66cbaf (diff) | |
download | toy-cpu-assembler-9d0452db9e2117dd51abd681d271083347676219.tar.xz |
More unused code removal
Diffstat (limited to 'lex.c')
-rw-r--r-- | lex.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -263,10 +263,6 @@ static int lex_misc(struct token *t) { if (get_keyword(t->s_val, NULL) == 0) t->type = TOKEN_KEYWORD; -// for (j = 0; j < sizeof(keywords)/sizeof(*keywords); j++) -// if (strcmp(t->s_val, keywords[j]) == 0) -// t->type = TOKEN_KEYWORD; - t->span = i - column; column = i; /* skip over colon, but don't have included it in the name */ |