🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Allow getting function declaration line number

Started by
1 comment, last by WitchLord 1 year, 9 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