FreeBSD/sys/contrib/dev/acpica/compiler/prutils.c
/*******************************************************************************
 *
 * FUNCTION:    PrError
 *
 * PARAMETERS:  Level               - Seriousness (Warning/error, etc.)
 *              MessageId           - Index into global message buffer
 *              Column              - Column in current line
 *
 * RETURN:      None
 *
 * DESCRIPTION: Preprocessor error reporting. Front end to AslCommonError2
 *
 ******************************************************************************/
PrError
PARAMETERS:  Level               - Seriousness (Warning/error, etc.)
MessageId           - Index into global message buffer
Column              - Column in current line

None

Preprocessor error reporting. Front end to AslCommonError2
PrError PARAMETERS : Level - Seriousness ( Warning / error etc . ) MessageId - Index into global message buffer Column - Column in current line None Preprocessor error reporting . Front end to AslCommonError2
void
PrError (
    UINT8                   Level,
    UINT16                  MessageId,
    UINT32                  Column)
{
#if 0
    AcpiOsPrintf ("%s (%u) : %s", Gbl_Files[ASL_FILE_INPUT].Filename,
        Gbl_CurrentLineNumber, Gbl_CurrentLineBuffer);
#endif
    if (Column > 120)
    {
        Column = 0;
    }
    AslCommonError2 (Level, MessageId,
        Gbl_CurrentLineNumber, Column,
        Gbl_CurrentLineBuffer,
        Gbl_Files[ASL_FILE_INPUT].Filename, "Preprocessor");
    Gbl_PreprocessorError = TRUE;
}
void PrError ( UINT8 Level , UINT16 MessageId , UINT32 Column ) { #if 0 AcpiOsPrintf ( " " , Gbl_Files [ ASL_FILE_INPUT ] . Filename , Gbl_CurrentLineNumber , Gbl_CurrentLineBuffer ) ; #endif if ( Column > 120 ) { Column = 0 ; } AslCommonError2 ( Level , MessageId , Gbl_CurrentLineNumber , Column , Gbl_CurrentLineBuffer , Gbl_Files [ ASL_FILE_INPUT ] . Filename , " " ) ; Gbl_PreprocessorError = TRUE ; }
FUNCTION:    PrError
 PARAMETERS:  Level               - Seriousness (Warning/error, etc.)
FUNCTION : PrError PARAMETERS : Level - Seriousness ( Warning / error etc . )
/* TBD: Need Logical line number? */