| 6275 | } |
| 6276 | |
| 6277 | void asCCompiler::Error(const asCString &msg, asCScriptNode *node) |
| 6278 | { |
| 6279 | asCString str; |
| 6280 | |
| 6281 | int r = 0, c = 0; |
| 6282 | asASSERT( node ); |
| 6283 | if( node ) script->ConvertPosToRowCol(node->tokenPos, &r, &c); |
| 6284 | |
| 6285 | builder->WriteError(script->name, msg, r, c); |
| 6286 | |
| 6287 | hasCompileErrors = true; |
| 6288 | } |
| 6289 | |
| 6290 | void asCCompiler::Warning(const asCString &msg, asCScriptNode *node) |
| 6291 | { |
nothing calls this directly
no test coverage detected