From 9d0452db9e2117dd51abd681d271083347676219 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 14 Apr 2019 20:09:18 +1200 Subject: More unused code removal --- lex.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lex.c') diff --git a/lex.c b/lex.c index 41b65c5..a642ea0 100644 --- a/lex.c +++ b/lex.c @@ -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 */ -- cgit v1.1