Tweak `nls` rule

nls has a "Rule" where the content is a "Greedy Closure"

We need to set the sll field of the StarLoopEntryState (which is derived from DecisionState where the field is defined) to true

I don't think we can do this in the grammar. However, since the nls rule only has one StarLoopEntryState, we should be able to loop over all the states in the entire ATN to find one of type StarLoopEntryState where the containing rule is RULE_nls, and set the field directly in code.
1 file changed