Advertisement

Allow getting function declaration line number

Started by September 03, 2022 01:54 PM
1 comment, last by WitchLord 2 years, 2 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).

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