Add error logging and corresponding tests for parser syntax errors

This commit is contained in:
2026-04-25 14:37:08 +02:00
parent 7c7e0c3272
commit 91593e12b7
8 changed files with 70 additions and 15 deletions
+4
View File
@@ -119,6 +119,10 @@ static TestCase s_tests[] = {
{"tokenstream_unknown_token", test_tokenstream_unknown_token},
{"tokenstream_info", test_tokenstream_info},
{"parser_module_name", test_parser_module_name},
{"parser_bad_module_name", test_parser_bad_module_name},
{"parser_missing_semicolon_module", test_parser_missing_semicolon_module},
{"parser_missing_semicolon_import", test_parser_missing_semicolon_import},
{"parser_bad_import_name", test_parser_bad_import_name},
{"parser_imports", test_parser_imports},
{"log_error", test_log_error},
{"log_on_line", test_log_on_line},