Skip to main content
gamedev.net
🔒 Locked

Namespace bug

Started by cvet 1 reply 1.5k views
Original Post
cvet
cvet

AngelScript 2.29.0.

How to reproduce:


namespace n1
{
	class c1
	{
	}
}

void main()
{
	int c1 = 1;
	if(c1 < 2) // Error here
		c1 = 3;
}

INFO : Compiling void main().
ERROR : Expected '('.
ERROR : Instead found '<'.
WitchLord
WitchLord

Thanks. I'll have this fixed.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel
WitchLord
WitchLord

I've fixed this in revision 1979.

Regards,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - <a href="http://www.angelcode.com/tower" rel

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.