-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
\xHH escapes in string literal are expanded #1508
Labels
Comments
vain0x
added a commit
to vain0x/fantomas
that referenced
this issue
Mar 6, 2021
Hello @vain0x, thank you for reporting this issue. fantomas/src/Fantomas/TokenParser.fs Lines 509 to 510 in ba5b44e
Would you be interested in submitting a PR? |
Thank you. I have submitted a PR. |
vain0x
added a commit
to vain0x/fantomas
that referenced
this issue
Mar 6, 2021
nojaf
pushed a commit
that referenced
this issue
Mar 6, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue created from fantomas-online
Code
"\x00"
Result
"�"
Problem description
Hex escapes that look like
\xHH
in string literals are expanded to the escaped characters.Extra information
Options
Fantomas Master at 03/05/2021 14:51:06 - 69fd7ea
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: