diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2013-12-19 05:51:01 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2013-12-19 05:51:01 +0000 |
| commit | 86e94f4ac956e0aed23de30c7a458d215f54749a (patch) | |
| tree | 7fcfdcc62c3319ffd669b18b080d40c9c5897210 /source/compiler/aslerror.c | |
| parent | de06c6b7e0851b337ee530b0ab8818f4216b06b2 (diff) | |
Notes
Diffstat (limited to 'source/compiler/aslerror.c')
| -rw-r--r-- | source/compiler/aslerror.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/source/compiler/aslerror.c b/source/compiler/aslerror.c index d0e8e03bc0608..87651ecc6c8e1 100644 --- a/source/compiler/aslerror.c +++ b/source/compiler/aslerror.c @@ -200,6 +200,16 @@ AePrintException ( switch (Enode->Level) { + case ASL_WARNING: + case ASL_WARNING2: + case ASL_WARNING3: + + if (!Gbl_DisplayWarnings) + { + return; + } + break; + case ASL_REMARK: if (!Gbl_DisplayRemarks) @@ -222,11 +232,10 @@ AePrintException ( } } - /* Get the file handles */ + /* Get the various required file handles */ OutputFile = Gbl_Files[FileId].Handle; - if (!Enode->SourceLine) { /* Use the merged header/source file if present, otherwise use input file */ |
