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 underscore in numbers causing a syntax error #1685

Merged
merged 8 commits into from Apr 11, 2020

Conversation

gerritwalther
Copy link

@gerritwalther gerritwalther commented Mar 19, 2020

This fixes #1478 . I wrote the fix last year in May, but had a ton of tests failing. Yesterday I merged your current master branch and with runIde the bug was still fixed. Unfortunately when running the test task it gets stuck indefinitely in the runQuoter task. A colleague has the same problem and left it running for 4 hours.

I'm also not sure why there are so many @Override in the diff. I unmarked the gen folder as generated source (as far as I can recall). If it's a problem I can go through the changes and remove them.

Changelog

Bug Fixes

  • Allow underscores in binary (0b), octal (0o) , and hexadecimal (0x) numbers.

@KronicDeth
Copy link
Owner

I'm also not sure why there are so many @OverRide in the diff. I unmarked the gen folder as generated source (as far as I can recall). If it's a problem I can go through the changes and remove them.

IIRC that is just the newer version of GrammarKit adding them.

@KronicDeth KronicDeth self-assigned this Mar 20, 2020
@KronicDeth
Copy link
Owner

Confirmed #1478 test cases worked manually. Fixing test failures now.

@KronicDeth KronicDeth merged commit f773198 into KronicDeth:master Apr 11, 2020
@KronicDeth KronicDeth added this to the 11.6.0 milestone Apr 11, 2020
@gerritwalther
Copy link
Author

gerritwalther commented Apr 13, 2020

Thank you very much for fixing the tests and merging the fix.

Will check tomorrow whether the tests still don't work locally, just in case I get to do any other merges (don't want to always let you do the dirty work 😅 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Underscore in binary and hexadecimal numbers causes a syntax error
2 participants