X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/dd60572a8b54ebc51421448f09f83f39bc0a4229..4a678af8c6f178b797e42a60d7ee3774afbdc14e:/src/parse-gram.c diff --git a/src/parse-gram.c b/src/parse-gram.c index 76abad68..a896d5eb 100644 --- a/src/parse-gram.c +++ b/src/parse-gram.c @@ -1584,8 +1584,8 @@ YYLTYPE yylloc; { /* Bison's grammar can initial empty locations, hence a default location is needed. */ - boundary_set (&yylloc.start, current_file, 1, 0); - boundary_set (&yylloc.end, current_file, 1, 0); + boundary_set (&yylloc.start, current_file, 1, 1); + boundary_set (&yylloc.end, current_file, 1, 1); } /* Line 1085 of yacc.c. */ #line 1592 "parse-gram.c"