Caching of 'Enum type' Terminals

Oct 3, 2012 at 11:39 PM

Is the Parser caching terminals of an Enum type? I have two of these that occur frequently, and their position is always reported at the end fo the file. As well, they all report their value as the last occurrence of their type when building the AST tree.

Oct 4, 2012 at 4:29 AM
Edited Oct 4, 2012 at 4:29 AM

I got it!

My AstNodeCreator was passing the same parent in for each child type, instead of for each child instance.