Skip to content

fix(objective-c): escape control characters in string literals - #3447

Open
schani wants to merge 1 commit into
masterfrom
fix/objc-control-string-escapes
Open

fix(objective-c): escape control characters in string literals#3447
schani wants to merge 1 commit into
masterfrom
fix/objc-control-string-escapes

Conversation

@schani

@schani schani commented Sep 5, 2026

Copy link
Copy Markdown
Member

Objective-C literals rejected C0/C1 control escapes, preventing blns-object.json from compiling. Encode those characters as UTF-8 octal escapes, preserving literal backslashes and supplementary Unicode escapes.

Enable a compilation fixture for that input under FIXTURE=objective-c. Its roundtrip remains skipped because Foundation drops BOM object keys.

Validation: build, Biome, enabled compilation fixture, and identifiers/keywords/NST roundtrips. Production change: 14 added/removed lines.

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Generated-output differences

2 files differ — 0 modified, 2 new, 0 deleted
2101 changed lines — +2101 / −0

Open the generated-output report →

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