Lines Matching refs:SourceError

128 void QDECL SourceError(source_t *source, char *str, ...)  in SourceError()  function
227 SourceError(source, "%s recursively included", script->filename); in PC_PushScript()
369 SourceError(source, "define %s missing parms", define->name); in PC_ReadDefineParms()
375 SourceError(source, "define with more than %d parameters", maxparms); in PC_ReadDefineParms()
384 SourceError(source, "define %s missing parms", define->name); in PC_ReadDefineParms()
392 SourceError(source, "define %s with too many parms", define->name); in PC_ReadDefineParms()
408 SourceError(source, "define %s incomplete", define->name); in PC_ReadDefineParms()
851 SourceError(source, "can't stringize tokens"); in PC_ExpandDefine()
887 SourceError(source, "can't merge %s with %s", t1->string, t2->string); in PC_ExpandDefine()
984 SourceError(source, "#include without file name"); in PC_Directive_include()
989 SourceError(source, "#include without file name"); in PC_Directive_include()
1023 SourceError(source, "#include without file name between < >"); in PC_Directive_include()
1031 SourceError(source, "#include without file name"); in PC_Directive_include()
1048 SourceError(source, "file %s not found", path); in PC_Directive_include()
1119 SourceError(source, "undef without name"); in PC_Directive_undef()
1125 SourceError(source, "expected name, found %s", token.string); in PC_Directive_undef()
1186 SourceError(source, "#define without name"); in PC_Directive_define()
1192 SourceError(source, "expected name after #define, found %s", token.string); in PC_Directive_define()
1205 SourceError(source, "can't redefine %s", token.string); in PC_Directive_define()
1244 SourceError(source, "expected define parameter"); in PC_Directive_define()
1250 SourceError(source, "invalid define parameter"); in PC_Directive_define()
1256 SourceError(source, "two the same define parameters"); in PC_Directive_define()
1270 SourceError(source, "define parameters not terminated"); in PC_Directive_define()
1278 SourceError(source, "define not terminated"); in PC_Directive_define()
1292 SourceError(source, "recursive define (removed recursion)"); in PC_Directive_define()
1308 SourceError(source, "define with misplaced ##"); in PC_Directive_define()
1523 SourceError(source, "#ifdef without name"); in PC_Directive_if_def()
1529 SourceError(source, "expected name after #ifdef, found %s", token.string); in PC_Directive_if_def()
1574 SourceError(source, "misplaced #else"); in PC_Directive_else()
1579 SourceError(source, "#else after #else"); in PC_Directive_else()
1598 SourceError(source, "misplaced #endif"); in PC_Directive_endif()
1669 SourceError(source, "out of value space\n"); \
1679 SourceError(source, "out of operator space\n"); \
1720 SourceError(source, "syntax error in #if/#elif"); in PC_EvaluateTokens()
1726 SourceError(source, "undefined name %s in #if/#elif", t->string); in PC_EvaluateTokens()
1738 SourceError(source, "defined without name in #if/#elif"); in PC_EvaluateTokens()
1769 SourceError(source, "defined without ) in #if/#elif"); in PC_EvaluateTokens()
1783 SourceError(source, "syntax error in #if/#elif"); in PC_EvaluateTokens()
1815 SourceError(source, "misplaced minus sign in #if/#elif"); in PC_EvaluateTokens()
1829 SourceError(source, "too many ) in #if/#elsif"); in PC_EvaluateTokens()
1842 SourceError(source, "illigal operator %s on floating point operands\n", t->string); in PC_EvaluateTokens()
1854 SourceError(source, "! or ~ after value in #if/#elif"); in PC_EvaluateTokens()
1863 SourceError(source, "++ or -- used in #if/#elif"); in PC_EvaluateTokens()
1902 SourceError(source, "operator %s after operator in #if/#elif", t->string); in PC_EvaluateTokens()
1910 SourceError(source, "invalid operator %s in #if/#elif", t->string); in PC_EvaluateTokens()
1933 SourceError(source, "unknown %s in #if/#elif", t->string); in PC_EvaluateTokens()
1944 SourceError(source, "trailing operator in #if/#elif"); in PC_EvaluateTokens()
1949 SourceError(source, "too many ( in #if/#elif"); in PC_EvaluateTokens()
1979 SourceError(source, "mising values in #if/#elif"); in PC_EvaluateTokens()
2009 SourceError(source, "divide by zero in #if/#elif\n"); in PC_EvaluateTokens()
2017 SourceError(source, "divide by zero in #if/#elif\n"); in PC_EvaluateTokens()
2056 SourceError(source, ": without ? in #if/#elif"); in PC_EvaluateTokens()
2075 SourceError(source, "? after ? in #if/#elif"); in PC_EvaluateTokens()
2154 SourceError(source, "no value after #if/#elif"); in PC_Evaluate()
2192 SourceError(source, "can't evaluate %s, not defined", token.string); in PC_Evaluate()
2209 SourceError(source, "can't evaluate %s", token.string); in PC_Evaluate()
2253 SourceError(source, "no leading ( after $evalint/$evalfloat"); in PC_DollarEvaluate()
2258 SourceError(source, "nothing to evaluate"); in PC_DollarEvaluate()
2297 SourceError(source, "can't evaluate %s, not defined", token.string); in PC_DollarEvaluate()
2317 SourceError(source, "can't evaluate %s", token.string); in PC_DollarEvaluate()
2356 SourceError(source, "misplaced #elif"); in PC_Directive_elif()
2388 SourceError(source, "#line directive not supported"); in PC_Directive_line()
2403 SourceError(source, "#error directive: %s", token.string); in PC_Directive_error()
2519 SourceError(source, "found # without name"); in PC_ReadDirective()
2526 SourceError(source, "found # at end of line"); in PC_ReadDirective()
2541 SourceError(source, "unknown precompiler directive %s", token.string); in PC_ReadDirective()
2620 SourceError(source, "found $ without name"); in PC_ReadDollarDirective()
2627 SourceError(source, "found $ at end of line"); in PC_ReadDollarDirective()
2643 SourceError(source, "unknown precompiler directive %s", token.string); in PC_ReadDollarDirective()
2747 SourceError(source, "string longer than MAX_TOKEN %d\n", MAX_TOKEN); in PC_ReadToken()
2795 SourceError(source, "couldn't find expected %s", string); in PC_ExpectTokenString()
2801 SourceError(source, "expected %s, found %s", string, token.string); in PC_ExpectTokenString()
2818 SourceError(source, "couldn't read expected token"); in PC_ExpectTokenType()
2830 SourceError(source, "expected a %s, found %s", str, token->string); in PC_ExpectTokenType()
2845 SourceError(source, "expected %s, found %s", str, token->string); in PC_ExpectTokenType()
2853 SourceError(source, "found %s", token->string); in PC_ExpectTokenType()
2869 SourceError(source, "couldn't read expected token"); in PC_ExpectAnyToken()