Allow getting function declaration line number

Started by
1 comment, last by WitchLord 1 year, 8 months ago

Since asCScriptFunction has line number information and it also exposes a function FindNextLineWithCode, maybe it's worth exposing a function to get the actually line numbers as well.

Specifically, I need this when showing some script compiler warnings (missing “override” keyword for example).

Advertisement

I have this on my to-do list already. I'll see if I can have this implemented sooner.

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