Skip to content

Add \a and \v escape sequence support and fix raw byte handling#39

Merged
kyleconroy merged 1 commit intomainfrom
claude/fix-next-test-LjzcY
Dec 25, 2025
Merged

Add \a and \v escape sequence support and fix raw byte handling#39
kyleconroy merged 1 commit intomainfrom
claude/fix-next-test-LjzcY

Conversation

@kyleconroy
Copy link
Copy Markdown
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.

2 participants