mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53: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:
@@ -218,7 +218,7 @@ AT_SETUP([Torturing the Scanner])
|
||||
|
||||
AT_DATA([input.y], [])
|
||||
AT_CHECK([bison input.y], [1], [],
|
||||
[[input.y:1.0: syntax error, unexpected end of file
|
||||
[[input.y:1.1: syntax error, unexpected end of file
|
||||
]])
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ AT_DATA([input.y],
|
||||
[{}
|
||||
])
|
||||
AT_CHECK([bison input.y], [1], [],
|
||||
[[input.y:1.0-1: syntax error, unexpected {...}
|
||||
[[input.y:1.1-2: syntax error, unexpected {...}
|
||||
]])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user