diff options
author | Camil Staps | 2016-08-26 14:00:29 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-26 14:00:29 +0200 |
commit | 5fa8a5684cfb2456b536765b608f0883b1b90029 (patch) | |
tree | 5a85bd4c0089e7f87cabe8614ef356557cd15a63 /interpreter/lex.c | |
parent | Added eval_main (diff) |
Added strictness annotations
Diffstat (limited to 'interpreter/lex.c')
-rw-r--r-- | interpreter/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interpreter/lex.c b/interpreter/lex.c index bd64349..8208248 100644 --- a/interpreter/lex.c +++ b/interpreter/lex.c @@ -62,6 +62,7 @@ token_list* lex(token_list* list, char* input) { case ']': list->elem.kind = TOKEN_CLOSE_SQ; break; case '=': list->elem.kind = TOKEN_EQUALS; break; case ',': list->elem.kind = TOKEN_COMMA; break; + case '!': list->elem.kind = TOKEN_STRICT; break; case 'c': if (input[1] == 'o' && input[2] == 'd' && input[3] == 'e' && is_space_char(input[4])) { |