compiler: Reworked Preprocessor To Support Better Error Messages

Can now support showing the trail of includes in an error
message.

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-05-22 20:40:49 -04:00
parent 041009a22e
commit bc51b4e280
8 changed files with 79 additions and 41 deletions
@@ -0,0 +1,3 @@
parser main_parser() {
#include <file-loc-error-parser-state.p4>
};