Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

  • Add support for \a (bell, 0x07) and \v (vertical tab, 0x0B) escape
    sequences in the lexer's string parsing
  • Fix escapeStringLiteral to iterate over bytes instead of runes to
    preserve raw bytes like \xAA that are not valid UTF-8

Enables test 00342_escape_sequences.

- Add support for \a (bell, 0x07) and \v (vertical tab, 0x0B) escape
  sequences in the lexer's string parsing
- Fix escapeStringLiteral to iterate over bytes instead of runes to
  preserve raw bytes like \xAA that are not valid UTF-8

Enables test 00342_escape_sequences.
@kyleconroy kyleconroy merged commit 64b57e0 into main Dec 25, 2025
1 check passed
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.

3 participants