From 89e003b330efcf02f9be3d056ca74176e0dc3a4d Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 24 Apr 2018 21:05:33 -0400 Subject: [PATCH] another fix to error location reporting --- src/parser/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/parser.y b/src/parser/parser.y index 0ff51e9..5bda117 100644 --- a/src/parser/parser.y +++ b/src/parser/parser.y @@ -3,7 +3,7 @@ #include #include "parser.h" -#define yyerror(msg) handle_parse_error(msg, &yyloc) +#define yyerror(msg) handle_parse_error(msg, &yylloc) int yylex(YYSTYPE *, YYLTYPE *);