diff options
Diffstat (limited to 'uscript')
| -rw-r--r-- | uscript/lex.c | 2 | ||||
| -rw-r--r-- | uscript/lex.h | 1 | ||||
| -rw-r--r-- | uscript/parser.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/uscript/lex.c b/uscript/lex.c index b89537d..a25bb86 100644 --- a/uscript/lex.c +++ b/uscript/lex.c @@ -173,8 +173,6 @@ struct token ident_token(struct lexer *lex) kind = TOKEN_ELSE; else if (match_kw(lex, "loop")) kind = TOKEN_LOOP; - else if (match_kw(lex, "mod")) - kind = TOKEN_MOD; else if (match_kw(lex, "true")) kind = TOKEN_TRUE; else if (match_kw(lex, "false")) diff --git a/uscript/lex.h b/uscript/lex.h index 191997d..4e448ed 100644 --- a/uscript/lex.h +++ b/uscript/lex.h @@ -25,7 +25,6 @@ _(LOOP) \ _(LTEQL) \ _(MINUS_EQL) \ - _(MOD) \ _(MOD_EQL) \ _(MULT_EQL) \ _(NEQL) \ diff --git a/uscript/parser.c b/uscript/parser.c index 043249e..d3f1432 100644 --- a/uscript/parser.c +++ b/uscript/parser.c @@ -540,7 +540,6 @@ struct expr expressions[] = { [TOKEN_LOOP] = {NULL, NULL, PREC_NONE}, [TOKEN_LTEQL] = {NULL, parse_binary, PREC_COMP}, [TOKEN_MINUS_EQL] = {NULL, NULL, PREC_NONE}, - [TOKEN_MOD] = {NULL, NULL, PREC_NONE}, [TOKEN_MOD_EQL] = {NULL, NULL, PREC_NONE}, [TOKEN_MULT_EQL] = {NULL, NULL, PREC_NONE}, [TOKEN_NEQL] = {NULL, parse_binary, PREC_EQL}, |
