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

Extend lexer to handle \ddd escapes in string and character literals #948

Merged
merged 2 commits into from May 3, 2023

Commits on Apr 18, 2023

  1. Extend lexer to handle \ddd escapes in string and character literals

    Thus
    
       val s = "\001\n"
    
    will now work (previously only \" \n \t and \\ worked for backslash
    escapes).
    mn200 committed Apr 18, 2023
    Copy the full SHA
    1f7c833 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Make \ddd handling code actually translate

    In the process, also tighten this code so that it fails on more
    inputs (non-digits, or digits encoding numbers >= 256).
    mn200 committed Apr 26, 2023
    Copy the full SHA
    e01d7cb View commit details
    Browse the repository at this point in the history