congo-cc / congo-parser-generator

The CongoCC Parser Generator, the Next Generation of JavaCC 21, which in turn was the next generation of JavaCC
https://discuss.congocc.org/
Other
36 stars 11 forks source link

Java.ccc example uses the experimental X_SYNTHETIC_NODES_ENABLED option #102

Closed adMartem closed 9 months ago

adMartem commented 9 months ago

This option, and the Java.ccc's use of it, causes the tree built by the example parser to be slightly different by the addition of anonymous syntactic nodes in two places. This might affect a user that includes the Java grammar in their grammar and encounters the difference.