diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-04-09 23:08:47 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-04-09 23:08:47 +0000 |
| commit | d29c30140bd8ea81e0530ad3975c977891ab9275 (patch) | |
| tree | 7a91c0da98a89b4b10beda84d027d2c779673064 /source/compiler/dtcompile.c | |
| parent | 2872953d4a9c9c4e0fc0b9ab37d0e962909625a0 (diff) | |
Notes
Diffstat (limited to 'source/compiler/dtcompile.c')
| -rw-r--r-- | source/compiler/dtcompile.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/source/compiler/dtcompile.c b/source/compiler/dtcompile.c index 1c4a7082425a5..0b949191570d4 100644 --- a/source/compiler/dtcompile.c +++ b/source/compiler/dtcompile.c @@ -102,13 +102,18 @@ DtDoCompile ( /* Preprocessor */ - Event = UtBeginEvent ("Preprocess input file"); - PrDoPreprocess (); - UtEndEvent (Event); - - if (Gbl_PreprocessOnly) + if (Gbl_PreprocessFlag) { - return (AE_OK); + /* Preprocessor */ + + Event = UtBeginEvent ("Preprocess input file"); + PrDoPreprocess (); + UtEndEvent (Event); + + if (Gbl_PreprocessOnly) + { + return (AE_OK); + } } /* |
