Error messages track include file filenames

date	2000.11.15.21.09.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:12:15 +00:00
parent c3c69b186d
commit fdd0820664
2 changed files with 7 additions and 6 deletions

View File

@ -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);

View File

@ -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);
}