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

Conversation

mn200
Copy link
Contributor

@mn200 mn200 commented Apr 18, 2023

Thus

val s = "\001\n"

will now work (previously only " \n \t and \ worked for backslash escapes).

Thus

   val s = "\001\n"

will now work (previously only \" \n \t and \\ worked for backslash
escapes).
In the process, also tighten this code so that it fails on more
inputs (non-digits, or digits encoding numbers >= 256).
@myreen myreen merged commit 856f1d4 into master May 3, 2023
1 check passed
@myreen myreen deleted the lex-decimal-chars branch May 3, 2023 11:46
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

2 participants