MCPcopy Create free account
hub / github.com/anjo76/angelscript / Error

Method Error

sdk/angelscript/source/as_compiler.cpp:6277–6288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6275}
6276
6277void 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
6290void asCCompiler::Warning(const asCString &msg, asCScriptNode *node)
6291{

Callers

nothing calls this directly

Calls 2

ConvertPosToRowColMethod · 0.80
WriteErrorMethod · 0.80

Tested by

no test coverage detected