mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 21:03:04 +00:00
Test and fix the #line outputs.
* tests/atlocal.at (GCC): New. * tests/synclines.at (AT_TEST_SYNCLINE): New macro. (Prologue synch line, ,%union synch line, Postprologue synch line) (Action synch line, Epilogue synch line): New tests. * src/reader.c (parse_union_decl): Define the muscle stype_line. * data/bison.simple, data/bison.c++: Use it.
This commit is contained in:
@@ -759,6 +759,7 @@ parse_union_decl (void)
|
||||
|
||||
typed = 1;
|
||||
|
||||
MUSCLE_INSERT_INT ("stype_line", lineno);
|
||||
obstack_init (&union_obstack);
|
||||
obstack_sgrow (&union_obstack, "union");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user