diff --git a/source/compiler/asltree.c b/source/compiler/asltree.c index 4a9535660..9611a738c 100644 --- a/source/compiler/asltree.c +++ b/source/compiler/asltree.c @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: asltree - parse tree management - * $Revision: 1.13 $ + * $Revision: 1.14 $ * *****************************************************************************/ @@ -142,8 +142,9 @@ TgAllocateNode ( Node = UtLocalCalloc (sizeof (ASL_PARSE_NODE)); - Node->ParseOpcode = ParseOpcode; - Node->LineNumber = Gbl_CurrentLineNumber; + Node->ParseOpcode = ParseOpcode; + Node->Filename = Gbl_InputFilename; + Node->LineNumber = Gbl_CurrentLineNumber; Node->LogicalLineNumber = Gbl_LogicalLineNumber; strncpy (Node->ParseOpName, UtGetOpName (ParseOpcode), 12); diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c index f960d6d2c..81f040f22 100644 --- a/source/compiler/aslutils.c +++ b/source/compiler/aslutils.c @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: aslutils -- compiler utilities - * $Revision: 1.11 $ + * $Revision: 1.12 $ * *****************************************************************************/ @@ -147,7 +147,7 @@ UtLocalCalloc ( if (!Allocated) { AslCommonError (ASL_ERROR, ASL_MSG_MEMORY_ALLOCATION, - Gbl_CurrentLineNumber, Gbl_LogicalLineNumber, NULL); + Gbl_CurrentLineNumber, Gbl_LogicalLineNumber, Gbl_InputFilename, NULL); exit (1); } @@ -180,7 +180,7 @@ UtLocalRealloc ( if (!Allocated) { AslCommonError (ASL_ERROR, ASL_MSG_MEMORY_ALLOCATION, - Gbl_CurrentLineNumber, Gbl_LogicalLineNumber, NULL); + Gbl_CurrentLineNumber, Gbl_LogicalLineNumber, Gbl_InputFilename, NULL); exit (1); }