aboutsummaryrefslogtreecommitdiff
path: root/interpreter/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter/lex.c')
-rw-r--r--interpreter/lex.c1
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])) {