Next: , Previous: Java Action Features, Up: Java Parsers


10.2.7 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

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