Repository navigation
fix: allow quoted C strings in cEmbed - #1102
Merged
Merged
Conversation
godofecht
force-pushed
the
fix/embed-escaping
branch
from
October 1, 2026 07:04
d102747 to
32c213d
Compare
godofecht
added a commit
that referenced
this pull request
Oct 1, 2026
* cli, process: drop the #1078 and #1089 workarounds Both bugs are fixed on main (#1082, #1102). Read SINK fields straight off the module static, and spell the C strings in the sys.flow and std.process shims as quoted literals instead of char arrays. * packaging: drop flow-driver from the Homebrew formula flow-driver was deleted in #1095. The ./flow stub builds tools/flow_cli from compiler/bootstrap, so tools/ is always installed beside it. * parity_typecheck: read logs as text with grep -a Some frontend logs echo source bytes that are not valid UTF-8. GNU grep then printed "binary file matches" on stderr 151 times per CI run and left the message empty. The verdicts and the class table are unchanged. * cli: keep the toolchain state in string statics #1103 allows module-level strings (#1086), so the Toolchain struct behind a pointer static and its tc() accessor (a #1078 workaround) go. * parity_typecheck: keep the shell line count flat The shell ratchet counts lines; the rationale for grep -a lives in the previous commit message.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1089. Decode escaped quote and backslash delimiters from the surrounding Flow string before emitting embedded C. Preserve other C escapes. Adds a regression program that compiles and runs through the C backend.