another fix to error location reporting

This commit is contained in:
Josh Holtrop 2018-04-24 21:05:33 -04:00
parent 3cd2d96611
commit 89e003b330

View File

@ -3,7 +3,7 @@
#include <stdio.h>
#include "parser.h"
#define yyerror(msg) handle_parse_error(msg, &yyloc)
#define yyerror(msg) handle_parse_error(msg, &yylloc)
int yylex(YYSTYPE *, YYLTYPE *);