Modified no match to member function's error msg

Started by
0 comments, last by WitchLord 16 years, 3 months ago
I wanted it to the class name to be in the error message if you use a undefined function. So I modified angelscript to do it and now the error message looks like this:

script (1, 1) : INFO : Compiling void main()
script (3, 12) : ERR  : No matching signatures to 'CSystem::Foo()'
I added a extra parameter to MatchFunctions that allows CompileFunctionCall to pass a copy of asCObjectType. You can get the changed code here not sure if you would want to include this into it or not, but I think it gives a little more information about the error. Thanks, Jeremy
Advertisement
That's a good idea. I'll add your changes to the next version. Thanks.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement