summaryrefslogtreecommitdiff
path: root/src/compiler/lexer.c
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-26 14:08:26 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-26 14:08:26 +0330
commitcccf0dd70816133398fc5d3a8c666b07753edc1e (patch)
treef87a44a4b85b940e16c5dd993fe377102b576bbe /src/compiler/lexer.c
parentb581b5918219a5f5169d59faca6f4dee20531482 (diff)
some clean up
Diffstat (limited to 'src/compiler/lexer.c')
-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;