summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/lexer.c b/src/compiler/lexer.c
index 1c7e546..6fe481c 100644
--- a/src/compiler/lexer.c
+++ b/src/compiler/lexer.c
@@ -417,7 +417,7 @@ inline __attribute__((always_inline)) void lexerPushClear(LexerNodeArray *array,
goto RETURN_SUCCESS;
}
printLog("Bad token '%d'", *node_token);
- exit(1);
+ UNREACHABLE;
RETURN_SUCCESS:
*node_str_begin = iter;
*node_token = token;