Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix proposal for #28 #29

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

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