Improved error messages when a missing operand is encountered

date	2000.10.27.22.33.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:07:36 +00:00
parent 26f727cc85
commit f942456b59

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: psparse - Parser top level AML parse routines
* $Revision: 1.61 $
* $Revision: 1.62 $
*
*****************************************************************************/
@ -731,6 +731,13 @@ AcpiPsParseLoop (
*/
Status = AcpiDsGetPredicateValue (WalkState, NULL, TRUE);
if (Status == AE_AML_NO_OPERAND)
{
DEBUG_PRINT (ACPI_ERROR,
("PsParseLoop: Invoked method did not return a value, %s\n",
AcpiCmFormatException (Status)));
}
Status = AcpiPsNextParseState (WalkState, Op, Status);
}