Skip to content
Snippets Groups Projects
Commit ccbd3e3d authored by benjamin.franksen's avatar benjamin.franksen
Browse files

snc: say lexical error when there is one

parent c3b6f2bb
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ static void scan_report(Scanner *s, const char *format, ...)
report_loc(s->file, s->line);
va_start(args, format);
fprintf(stderr, "lexical error: ");
vfprintf(stderr, format, args);
va_end(args);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment