Mid-rule actions are simply... ignored!

* src/reader.c (readgram): Be sure to attach mid-rule actions to
the empty-rule associated to the dummy symbol, not to the host
rule.
* tests/actions.at (Mid-rule actions): New.
This commit is contained in:
Akim Demaille
2001-12-29 14:24:51 +00:00
parent 8419d367e1
commit 82c035a823
6 changed files with 105 additions and 12 deletions

View File

@@ -25,7 +25,8 @@ MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
TESTSUITE_AT = \
testsuite.at \
output.at sets.at reduce.at calc.at torture.at regression.at \
output.at sets.at reduce.at actions.at calc.at \
torture.at regression.at \
semantic.at
TESTSUITE = $(srcdir)/testsuite