Skip to content

Conversation

@codemanyak
Copy link

Parsing used to fail with error.group_runaway if the parsed file ends with a line comment group since the newlines before the EOF are suppressed by lookahadDFA(). Therefor, this hack tolerates a single group with endingMode OPEN on the group stack when an EOF token is ahead.

Files ending with line comments should not raise error.group_runaway
Updated from base repository
master merged into issue28
Improved version of bugfix ridencww#28 (preserving the cut-off ultimate comment)
@ridencww ridencww changed the base branch from master to develop April 17, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant