diff options
| author | WormHeamer | 2025-08-02 06:19:21 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-08-02 06:19:21 -0400 |
| commit | eb9581e4f599470748fdfdceacce61fd8e8f52c7 (patch) | |
| tree | 5b76cee59606422d3b2c973c828b611e35b16e24 /lex.c | |
| parent | 828396144285492b14a6d8f5c50a4a0d9d0714ef (diff) | |
preliminary let bindings
Diffstat (limited to 'lex.c')
| -rw-r--r-- | lex.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -94,7 +94,7 @@ void lex_error_at(Lexer *l, LexSpan pos, LexErr e, Str msg) { lex_err_color(e); if (e != LE_NONE) fprintf(stderr, "%s", e == LE_ERROR ? "error" : "warn"); lex_err_color(LE_NONE); - fprintf(stderr, ": %.*s\n\n", (int)msg.n, msg.s); + fprintf(stderr, ": %.*s\n", (int)msg.n, msg.s); { int ofs = pos.ofs; @@ -111,8 +111,6 @@ void lex_error_at(Lexer *l, LexSpan pos, LexErr e, Str msg) { fputc('\n', stderr); } - fputc('\n', stderr); - if (e == LE_ERROR) { exit(1); } |
