eclipse-langium / langium

Next-gen language engineering / DSL framework
https://langium.org/
MIT License
725 stars 65 forks source link

Allow hidden terminals reference in terminal lookahead #1343

Closed gfontorbe closed 8 months ago

gfontorbe commented 8 months ago

Closes #1336

Updated the validation rule checkUsedHiddenTerminalRule to not send an error if the referenced hidden terminal is part of a lookahead.

This should also work for hidden terminal present in arbitrarily nested TerminalGroups