🎉 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!

scripthelper config helpers not working correctly

Started by
12 comments, last by Solokiller 9 years, 5 months ago

I've fixed the problem with the empty namespace in revision 2107.

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

Advertisement

It seems that the parser does not handle nested namespaces correctly.

If a configuration contains the following namespace declaration, it will only parse in the first namespace:


namespace Hooks::Player

The parser will ignore the :: and Player because they're unrecognized commands, without reporting it. It successfully parses the rest of the file.

Hopefully everything should be working now in revision 2112.

The only problem I knowingly left for later is if there is any dependencies between multiple template types. I didn't want to spend too much time on this now, so unless someone is actually facing a problem with that I'll leave it as it is for now.

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

Thanks for fixing all of this. This was all needed to make an IDE i've been working on work, so i should be able to release it soon.

This topic is closed to new replies.

Advertisement