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

Fix for infinite loop in core:odin file tags parser when a file uses \r #4275

Merged

Conversation

karl-zylinski
Copy link
Contributor

@karl-zylinski karl-zylinski commented Sep 20, 2024

Fix for a bug where file tags parser got stuck in infinite loop due to never hitting \n due to there being an unrecognized \r in the way.

Since I had locally modified some files that used file tags, then that meant they had \r in them. That caused the parser to hang in a busy loop, which I discovered by OLS hanging in the background.

@karl-zylinski karl-zylinski changed the title Fix for infinite loop in core:odin file tags parser when your local copy uses \r Fix for infinite loop in core:odin file tags parser when a file uses \r Sep 20, 2024
@gingerBill gingerBill merged commit c1264c2 into odin-lang:master Sep 20, 2024
7 checks passed
@karl-zylinski karl-zylinski deleted the fix-file-tags-infinite-loop branch September 20, 2024 13:37
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.

2 participants