engine/source/preprocessorlib/pp_parser.c
/**
 * Writes an error message to the log.
 * @return E_FAIL
 */
Writes an error message to the log.
Writes an error message to the log .
HRESULT pp_error(pp_parser *self, char *format, ...)
{
    char buf[1024] = {""};
    va_list arglist;
    va_start(arglist, format);
    vsprintf(buf, format, arglist);
    va_end(arglist);
    pp_message(self, "error", buf);
    return E_FAIL;
}
HRESULT pp_error ( pp_parser * self , char * format , ... ) { char buf [ 1024 ] = { " " } ; va_list arglist ; va_start ( arglist , format ) ; vsprintf ( buf , format , arglist ) ; va_end ( arglist ) ; pp_message ( self , " " , buf ) ; return E_FAIL ; }
Writes an error message to the log.
Writes an error message to the log .