summaryrefslogtreecommitdiffstats
path: root/compiler/aslerror.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-07-06 17:18:05 +0000
committerjkim <jkim@FreeBSD.org>2010-07-06 17:18:05 +0000
commit9ef1b91c0f59a1a15565c354b3e372ab265c7b5a (patch)
tree514e3ade7be23ac83127870abf009b5e5ae1d36f /compiler/aslerror.c
parentd54ec0eced2867779a0ed7f3c8043be7a3325934 (diff)
downloadFreeBSD-src-9ef1b91c0f59a1a15565c354b3e372ab265c7b5a.zip
FreeBSD-src-9ef1b91c0f59a1a15565c354b3e372ab265c7b5a.tar.gz
Import ACPICA 20100702.
Diffstat (limited to 'compiler/aslerror.c')
-rw-r--r--compiler/aslerror.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/aslerror.c b/compiler/aslerror.c
index 4b9a04f..ff24e62 100644
--- a/compiler/aslerror.c
+++ b/compiler/aslerror.c
@@ -280,7 +280,14 @@ AePrintException (
/* Get the file handles */
OutputFile = Gbl_Files[FileId].Handle;
+
+ /* Use the merged header/source file if present, otherwise use input file */
+
SourceFile = Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Handle;
+ if (!SourceFile)
+ {
+ SourceFile = Gbl_Files[ASL_FILE_INPUT].Handle;
+ }
if (Header)
{
OpenPOWER on IntegriCloud