Grammar declarations may be found in the grammar section.

* src/parse-gram.y (rules_or_grammar_declaration): New.
(declarations): Each declaration may end with a semicolon, not
just...
(grammar_declaration): `"%union"'.
(grammar): Branch to rules_or_grammar_declaration.
This commit is contained in:
Akim Demaille
2002-06-14 17:38:14 +00:00
parent 4515534cd2
commit 1921f1d7a4
4 changed files with 878 additions and 629 deletions

View File

@@ -1,3 +1,14 @@
2002-06-14 Akim Demaille <akim@epita.fr>
Grammar declarations may be found in the grammar section.
* src/parse-gram.y (rules_or_grammar_declaration): New.
(declarations): Each declaration may end with a semicolon, not
just...
(grammar_declaration): `"%union"'.
(grammar): Branch to rules_or_grammar_declaration.
2002-06-14 Akim Demaille <akim@epita.fr>
* src/main.c (main): Invoke scanner_free.