-
Notifications
You must be signed in to change notification settings - Fork 179
Fix lexing byte literal #2320
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 lexing byte literal #2320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM nice one i love how simple the fix was :)
857c8a7
to
0e4409c
Compare
gcc/rust/ChangeLog: * lex/rust-lex.cc (Lexer::parse_byte_char):add check for range of codepoint gcc/testsuite/ChangeLog: * rust/compile/bytecharstring.rs:add test for it Signed-off-by: Raiki Tamura <[email protected]>
0e4409c
to
3c3f2b2
Compare
@philberty Thank you for your review :) Rebased now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@CohenArthur Could you rerun tests also for this pr? |
done @tamaroning :) I wonder why it kept failing. I think github was having some server issues. I hope it runs properly this time. |
Thank you! |
closes #2308
NOTE: this pr depends on (includes commit from) PR #2307
so please merge this after PR #2307 is merged