From eb9581e4f599470748fdfdceacce61fd8e8f52c7 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Sat, 2 Aug 2025 06:19:21 -0400 Subject: preliminary let bindings --- lex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lex.c') diff --git a/lex.c b/lex.c index 7cfc1ec..b9ee85c 100644 --- a/lex.c +++ b/lex.c @@ -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); } -- cgit v1.2.3