diff options
author | c+1 | 2023-05-13 15:16:16 -0400 |
---|---|---|
committer | c+1 | 2023-05-13 15:16:16 -0400 |
commit | 8f5856e86e50429d1b28039ba3d876af616a5279 (patch) | |
tree | 169f5cf15844bf6a4b148a9f0bfd341469f1baaa /src | |
parent | 4ef8aec33057b28ece6168347eb847373fa695b3 (diff) |
_/|\_
Diffstat (limited to 'src')
-rw-r--r-- | src/lexer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lexer.c b/src/lexer.c index 0cef0c9..557fd1f 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -119,6 +119,7 @@ token_t* lexer_get_next_token(lexer_t* lexer) { lexer_get_c_as_string(lexer) ) ); break; + case '\0': return token_init(TOKEN_END, lexer_get_c_as_string(lexer)); break; default: fputs("Unrecognized token.", stderr); exit(1); |