10.3.9 Differences between C/C++ and Java Grammars

The different structure of the Java language forces several differences between C/C++ grammars, and grammars designed for Java parsers. This section summarizes these differences.


Footnotes

(8)

Java parsers include the actions in a separate method than yyparse in order to have an intuitive syntax that corresponds to these C macros.