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

Enable to parse character literals with a backslash #118

Open
txiang61 opened this issue Feb 19, 2025 · 1 comment · May be fixed by #119
Open

Enable to parse character literals with a backslash #118

txiang61 opened this issue Feb 19, 2025 · 1 comment · May be fixed by #119
Labels
bug Something isn't working

Comments

@txiang61
Copy link

Error:   × Failed to parse
    ╭─[]
 39 │         || c == '\\'
    ·                  ┬
    ·                  ╰── here
    ╰────
  help: Expected one of: static_str
@jaybosamiya-ms jaybosamiya-ms added the bug Something isn't working label Feb 19, 2025
@jaybosamiya-ms
Copy link
Collaborator

jaybosamiya-ms commented Feb 19, 2025

Thanks for the bug report. As a temporary workaround, you could use (0x5c as char) for this use case, but I'll push a fix for this shortly.

@jaybosamiya-ms jaybosamiya-ms linked a pull request Feb 19, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants