mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
In the grammar file, the first column is 1 not 0 on the first line as
on every other line. * src/parse-gram.y (%initial-action): Initialize @$ correctly. * tests/input.at (Torturing the Scanner): Update output. * src/scan-gram.l (scanner_cursor): Declare it static.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
code_start = scanner_cursor = loc->start; \
|
||||
|
||||
/* Location of scanner cursor. */
|
||||
boundary scanner_cursor;
|
||||
static boundary scanner_cursor;
|
||||
|
||||
#define YY_USER_ACTION location_compute (loc, &scanner_cursor, yytext, yyleng);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user