FreeBSD/sys/contrib/dev/acpica/compiler/aslerror.c
/*******************************************************************************
 *
 * FUNCTION:    AslCompilererror
 *
 * PARAMETERS:  CompilerMessage         - Error message from the parser
 *
 * RETURN:      Status (0 for now)
 *
 * DESCRIPTION: Report an error situation discovered in a production
 *              NOTE: don't change the name of this function, it is called
 *              from the auto-generated parser.
 *
 ******************************************************************************/
AslCompilererror
PARAMETERS:  CompilerMessage         - Error message from the parser

Status (0 for now)

Report an error situation discovered in a production
NOTE: don't change the name of this function, it is called
from the auto-generated parser.
AslCompilererror PARAMETERS : CompilerMessage - Error message from the parser Status ( 0 for now ) Report an error situation discovered in a production NOTE : don ' t change the name of this function it is called from the auto - generated parser .
int
AslCompilererror (
    const char              *CompilerMessage)
{
    Gbl_SyntaxError++;
    AslCommonError (ASL_ERROR, ASL_MSG_SYNTAX, Gbl_CurrentLineNumber,
        Gbl_LogicalLineNumber, Gbl_CurrentLineOffset,
        Gbl_CurrentColumn, Gbl_Files[ASL_FILE_INPUT].Filename,
        ACPI_CAST_PTR (char, CompilerMessage));
    return (0);
}
int AslCompilererror ( const char * CompilerMessage ) { Gbl_SyntaxError ++ ; AslCommonError ( ASL_ERROR , ASL_MSG_SYNTAX , Gbl_CurrentLineNumber , Gbl_LogicalLineNumber , Gbl_CurrentLineOffset , Gbl_CurrentColumn , Gbl_Files [ ASL_FILE_INPUT ] . Filename , ACPI_CAST_PTR ( char , CompilerMessage ) ) ; return ( 0 ) ; }
FUNCTION:    AslCompilererror
 PARAMETERS:  CompilerMessage         - Error message from the parser
FUNCTION : AslCompilererror PARAMETERS : CompilerMessage - Error message from the parser