Add option to print preprocessed P4 and continue with compilation #5152
Labels
core
Topics concerning the core segments of the compiler (frontend, midend, parser)
enhancement
This topic discusses an improvement to existing compiler code.
When the
-E
option is provided, the compiler prints the contents of the preprocessed P4 file, and exits. It would be nice if there existed an option to do the same (and maybe print the preprocessed P4 to some output file in the--dump
directory instead of tostdout
), but continue with compilation instead of exiting. Is there any reason to not add such an option?The text was updated successfully, but these errors were encountered: