Skip to content

Accept escaped quotes in C strings - #814

Open
ydah wants to merge 1 commit into
masterfrom
fix/escaped-c-strings
Open

ydah wants to merge 1 commit into
masterfrom
fix/escaped-c-strings

Conversation

@ydah

@ydah ydah commented Oct 21, 2026

Copy link
Copy Markdown
Member

Actions such as { printf("\"}"); } were rejected because the C-string pattern stopped at the escaped quote, exposing the following brace to action-delimiter handling.

Match escaped characters as part of the string and preserve source positions across line continuations. Add regression coverage for braces after escaped quotes, escaped backslashes, and continued strings.

@ydah
ydah force-pushed the fix/escaped-c-strings branch from adfad50 to 391676a Compare October 24, 2026 14:08

This branch has not been deployed

No deployments
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.

1 participant