Skip to content

Fix string literals with prefix, closes #298 #299

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

Merged

Conversation

filipsajdak
Copy link
Contributor

The current solution use '"' as the opening sequence for all strings.
It should use different opening sequences depending on prefixes.

This fix corrects this behavior - the original opening is used.

Closes #298 - all regression tests pass

The current solution use '"' as opening sequence for all strings.
It should use different opening sequence depending on prefix.

This fix  corrects this behaviour - original opening is used.
@hsutter hsutter merged commit fa4b888 into hsutter:main Mar 26, 2023
@filipsajdak filipsajdak deleted the fsajdak-fix-string-literals-with-prefix branch March 26, 2023 19:46
zaucy pushed a commit to zaucy/cppfront that referenced this pull request Dec 5, 2023
* Fix parsing of string literals with prefix

The current solution use '"' as opening sequence for all strings.
It should use different opening sequence depending on prefix.

This fix  corrects this behaviour - original opening is used.

* Add regression tests
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.

[BUG] UTF-32 string literals failure
2 participants