| 1062 | } |
| 1063 | |
| 1064 | void asCParser::Error(const asCString &text, sToken *token) |
| 1065 | { |
| 1066 | RewindTo(token); |
| 1067 | |
| 1068 | isSyntaxError = true; |
| 1069 | errorWhileParsing = true; |
| 1070 | |
| 1071 | int row, col; |
| 1072 | script->ConvertPosToRowCol(token->pos, &row, &col); |
| 1073 | |
| 1074 | if( builder ) |
| 1075 | builder->WriteError(script->name, text, row, col); |
| 1076 | } |
| 1077 | |
| 1078 | void asCParser::Warning(const asCString &text, sToken *token) |
| 1079 | { |
nothing calls this directly
no test coverage detected