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

Fixing crash bug in TokenStreamRewriter #4566

Merged
merged 1 commit into from Mar 27, 2024
Merged

Fixing crash bug in TokenStreamRewriter #4566

merged 1 commit into from Mar 27, 2024

Conversation

hs-apotell
Copy link
Collaborator

Fixing crash bug in TokenStreamRewriter

Order of operations issue - use before deleting not vice-versa.

Order of operations issue - use before deleting not vice-versa.

Signed-off-by: HS <hs@apotell.com>
@hs-apotell
Copy link
Collaborator Author

NOTE: Two older PRs unsuccessfully attempting to fix similar issue - #2740 & #3915.

@mike-lischke @parrt

@parrt
Copy link
Member

parrt commented Mar 27, 2024

Thanks, @hs-apotell !

@parrt parrt merged commit 0d30259 into antlr:dev Mar 27, 2024
40 of 42 checks passed
@hs-apotell hs-apotell deleted the ooobug branch March 27, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants