Akim Demaille
56c4720342
* src/reader.h, src/reader.c (symbol_list, symbol_list_new)
...
(symbol_list_prepend, get_type_name): Move to...
* src/symlist.h, src/symlist.c (symbol_list_t, symbol_list_new)
(symbol_list_prepend, symbol_list_n_type_name_get): here.
Adjust all callers.
(symbol_list_free): New.
* src/scan-gram.l (handle_dollar): Takes a location.
* tests/input.at (Invalid $n): Adjust.
2002-06-17 07:04:49 +00:00
Akim Demaille
6c35d22c39
* src/scan-gram.l (SC_PROLOGUE): Don't eat characters amongst
...
['"/] too eagerly.
* tests/input.at (Torturing the Scanner): New.
2002-06-12 12:50:22 +00:00
Akim Demaille
9af3fbce7c
* src/reader.c (grammar_current_rule_prec_set).
...
(grammar_current_rule_check): New, eved out from...
(readgram): here.
Remove `xaction', `first_rhs': useless.
* tests/input.at (Type clashes): New.
* tests/existing.at (GNU Cim Grammar): Adjust.
2002-06-11 08:08:22 +00:00
Akim Demaille
bfcf1f3af0
* tests/input.at (Invalid $n, Invalid @n): Add the ending `;'.
...
* tests/output.at (AT_CHECK_OUTPUT): Likewise.
* tests/headers.at (AT_TEST_CPP_GUARD_H): Ditto.
* tests/semantic.at (Parsing Guards): Similarly.
* src/reader.at (readgram): Complain if the last rule is not ended
with a semi-colon.
2002-03-04 16:23:35 +00:00
Akim Demaille
616429b508
Fix the previous test.
2002-02-07 17:22:50 +00:00
Akim Demaille
9b2d067768
* tests/input.at: New.
2002-02-07 17:18:49 +00:00