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

Lexer fix for multi byte characters #7907

Merged
merged 2 commits into from Jun 6, 2018
Merged

Conversation

GULPF
Copy link
Member

@GULPF GULPF commented May 30, 2018

Turns out that that multi byte characters where sometimes treated as operators.

Fixes #7884

@ghost
Copy link

ghost commented May 30, 2018

I think the comment means this line should be changed, too:

'|', '=', '%', '&', '$', '@', '~', ':', '\x80'..'\xFF'}

@GULPF
Copy link
Member Author

GULPF commented Jun 3, 2018

Fixed, thanks

@data-man data-man requested review from data-man and removed request for data-man June 4, 2018 16:14
discard """
action: run
"""

Copy link
Member

Choose a reason for hiding this comment

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

This test case can easily be added to one of the existing lexer tests instead.

@Araq Araq merged commit e957d36 into nim-lang:devel Jun 6, 2018
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.

None yet

3 participants