From 77339ce34a79a7b5a1818c1009d1db1252fe8ea6 Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Tue, 20 May 2025 08:03:20 +0200 Subject: cleanup --- parser.y | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'parser.y') diff --git a/parser.y b/parser.y index 5974b96..9a94480 100644 --- a/parser.y +++ b/parser.y @@ -5,8 +5,12 @@ extern char *yytext; extern int yylineno; extern int yylex(); -void yyerror(const char *s) { fprintf(stderr, "Parse error at token \"%s\", line %d: %s\n", yytext, yylineno, s); } + ASTNode *ast_root; + +void yyerror(const char *s) { + fprintf(stderr, "Parse error at token \"%s\", line %d: %s\n", yytext, yylineno, s); +} %} -- cgit v1.2.3