Working on parser refactor

This commit is contained in:
2026-04-29 14:36:42 +02:00
parent 1f40c8f5ee
commit eb4b0495f2
10 changed files with 253 additions and 138 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ static void test_log_on_line(void) {
loc.column_start = 12;
loc.column_end = 13;
log_on_line(&loc, 13, "unexpected token");
log_on_line(&loc, "unexpected token");
assert_log_file("expected formatted error message");
}
@@ -47,6 +47,6 @@ static void test_log_on_line_variadic(void) {
loc.column_start = 12;
loc.column_end = 13;
log_on_line(&loc, 13, "unexpected token '%c'", 'x');
log_on_line(&loc, "unexpected token '%c'", 'x');
assert_log_file("expected formatted error message with variadic args");
}