summaryrefslogtreecommitdiffstats
path: root/source/compiler/dtcompile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/dtcompile.c')
-rw-r--r--source/compiler/dtcompile.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/compiler/dtcompile.c b/source/compiler/dtcompile.c
index 78a6d3d..8536400 100644
--- a/source/compiler/dtcompile.c
+++ b/source/compiler/dtcompile.c
@@ -101,6 +101,17 @@ DtDoCompile (
return (Status);
}
+ /* Preprocessor */
+
+ Event = UtBeginEvent ("Preprocess input file");
+ PrDoPreprocess ();
+ UtEndEvent (Event);
+
+ if (Gbl_PreprocessOnly)
+ {
+ return AE_OK;
+ }
+
/*
* Scan the input file (file is already open) and
* build the parse tree
OpenPOWER on IntegriCloud