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 to skip utf-8 whitespaces #2339

Merged
merged 1 commit into from
Jun 29, 2023

Commits on Jun 29, 2023

  1. gccrs: fix tokenizing utf-8 whitespaces

    gcc/rust/ChangeLog:
    
    	* lex/rust-lex.cc (Lexer::build_token):add check for all kinds of whitespaces
    
    gcc/testsuite/ChangeLog:
    
    	* rust/compile/torture/utf8_whitespaces.rs: New test.
    
    Signed-off-by: Raiki Tamura <[email protected]>
    tamaroning committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    cc9e185 View commit details
    Browse the repository at this point in the history