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

Method Warning

sdk/angelscript/source/as_compiler.cpp:6290–6299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6288}
6289
6290void asCCompiler::Warning(const asCString &msg, asCScriptNode *node)
6291{
6292 asCString str;
6293
6294 int r = 0, c = 0;
6295 asASSERT( node );
6296 if( node ) script->ConvertPosToRowCol(node->tokenPos, &r, &c);
6297
6298 builder->WriteWarning(script->name, msg, r, c);
6299}
6300
6301void asCCompiler::Information(const asCString &msg, asCScriptNode *node)
6302{

Callers

nothing calls this directly

Calls 2

ConvertPosToRowColMethod · 0.80
WriteWarningMethod · 0.80

Tested by

no test coverage detected