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

Childless Definite Nodes have bad starting offset #68

Closed adMartem closed 11 months ago

adMartem commented 11 months ago

The closeNodeScope method should set both beginning and ending offset to the end of the last consumed token, to be revised as the child nodes, if any, are processed.