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(Lexer): Interpret minus correctly #122

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Dossar
Copy link

@Dossar Dossar commented Jun 9, 2022

Addresses #97

Incorporates the suggestion provided in this comment, courtesy of OlivierB-OB: #97 (comment)

Basically, if there is a minus sign for a negative value past the first argument, there is a parsing error. Adding comma to the list of minusNegatesAfter should allow proper interpretation of negative values after the first argument.

@Dossar
Copy link
Author

Dossar commented Jun 10, 2022

@TomFrost The fix in addition to unit tests have been added in this PR. To me it looks good to merge for fixing this issue, but would like your feedback.

Copy link

@chetbox chetbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a great fix to me and with appropriate tests. 👍🏼 I'm not a maintainer but am commenting in case it's helpful.

@Arihy
Copy link

Arihy commented Aug 26, 2022

Hello @TomFrost, any idea when this PR will be merged ?

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.

3 participants