diff options
Diffstat (limited to 'lex.c')
| -rw-r--r-- | lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -275,5 +275,6 @@ LexResult lex(char* input) { RawLine line = {.str = input, .pos = 0}; RegionVec reg_arena = make_RegionVec(256); TokenVec toks = lex_level(&line, '\0', ®_arena); + push_to_TokenVec(&toks, (Token){.kind = TOK_SPECIAL, .as.spec = EOL}); return (LexResult){.top_tokens = toks, .reg_arena = reg_arena}; } |
