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

Preserve the eol characters in literal strings #131

Merged
merged 2 commits into from
Nov 22, 2020
Merged

Preserve the eol characters in literal strings #131

merged 2 commits into from
Nov 22, 2020

Conversation

nickelc
Copy link
Contributor

@nickelc nickelc commented Nov 21, 2020

After making the parser tests more readable I noticed that a test for the nom parser is different and was missing a \r.

Input

"(text\r\n\\\\(nested\\t\\b\\f))"

Output

pom: "text\r\n\\(nested\t\x08\x0C)"
nom: "text\n\\(nested\t\x08\x0C)"

This PR brings the nom parser on par with the pom parser.

@J-F-Liu J-F-Liu merged commit 10b57af into J-F-Liu:master Nov 22, 2020
@nickelc nickelc deleted the readable-tests branch November 22, 2020 05:17
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.

2 participants