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

scanner: implement UTF-32 escape code #19911

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

igrekus
Copy link
Contributor

@igrekus igrekus commented Nov 17, 2023

Add support for UTF-32 escape code (\UXXXXXXXX)
Add tests for the new code.

🤖[deprecated] Generated by Copilot at 7d12517

This pull request adds support for 32 bit unicode escapes (\U) in rune and string literals, and improves the test coverage and reliability of the string module. It also renames and updates some files, variables, functions, comments, and error messages related to 16 bit unicode escapes (\u).

🤖[deprecated] Generated by Copilot at 7d12517

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit 76530de into vlang:master Nov 17, 2023
53 of 54 checks passed
@igrekus igrekus deleted the igrekus/unicode-32 branch November 17, 2023 15:28
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