mirror of
https://github.com/acpica/acpica/
synced 2025-02-07 00:54:16 +03:00
Error messages track include file filenames
date 2000.11.15.21.09.00; author rmoore1; state Exp;
This commit is contained in:
parent
c3c69b186d
commit
fdd0820664
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user