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:
Akim Demaille
2002-03-19 08:16:25 +00:00
parent 3c31a486e7
commit 642cb8f829
8 changed files with 150 additions and 1 deletions

View File

@@ -37,6 +37,9 @@ m4_include([sets.at])
# Testing grammar reduction.
m4_include([reduce.at])
# Testing that #lines are correct.
m4_include([synclines.at])
# Testing that headers are sane.
m4_include([headers.at])