Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ChrisDodd
Copy link
Contributor

If there was some error message earlier (perhaps from argument processing), returning NULL here after starting the preprocessor without reading/parsing its output will generate a spurious "fatal error: when writing output to : Broken pipe" from the preprocessor.

@ChrisDodd ChrisDodd requested review from asl, fruffy and vlstill October 19, 2025 10:24
@fruffy fruffy added the core Topics concerning the core segments of the compiler (frontend, midend, parser) label Oct 19, 2025
@ChrisDodd ChrisDodd force-pushed the cdodd-preproc-fix branch 2 times, most recently from f7e9480 to 85b887c Compare October 22, 2025 22:27
@ChrisDodd ChrisDodd added this pull request to the merge queue Oct 23, 2025
Merged via the queue into p4lang:main with commit 9d7e1c6 Oct 23, 2025
19 checks passed
@ChrisDodd ChrisDodd deleted the cdodd-preproc-fix branch October 23, 2025 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Topics concerning the core segments of the compiler (frontend, midend, parser)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants