mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
skeletons: use "invalid token" instead of "$undefined"
* src/output.c (prepare_symbol_names): Also handle undeftoken. * tests/actions.at, tests/calc.at, tests/regression.at: Adjust.
This commit is contained in:
@@ -1493,7 +1493,7 @@ Shifting token 'b' ('b')
|
||||
Entering state 5
|
||||
Stack now 0 1 3 5
|
||||
Reading a token
|
||||
Next token is token $undefined ()
|
||||
Next token is token "invalid token" ()
|
||||
Error: popping token 'b' ('b')
|
||||
DESTROY 'b'
|
||||
Stack now 0 1 3
|
||||
@@ -1502,8 +1502,8 @@ Stack now 0 1
|
||||
Shifting token error ()
|
||||
Entering state 3
|
||||
Stack now 0 1 3
|
||||
Next token is token $undefined ()
|
||||
Error: discarding token $undefined ()
|
||||
Next token is token "invalid token" ()
|
||||
Error: discarding token "invalid token" ()
|
||||
Error: popping token error ()
|
||||
Stack now 0 1
|
||||
Shifting token error ()
|
||||
|
||||
Reference in New Issue
Block a user