int main()
{
int some_value;
if(some_value >= 3)
int a=3;
return 0;
}
It should compile, but AngelScript throws me an error:
test.as (39, 2) : ERR: Expected expression value
I think this case is omitted in asCScriptNode *asCParser::ParseExprValue() method in as_parser.cpp.
Test was performed on HEAD revision of the AngelScript .
Thanks in advance!