Seems AngelScript cannot parse enum which is not ended with comma.
//Working:
enum MyEnum
{
MY_ID = 140322,
}
//Not working:
enum MyEnum
{
MY_ID = 140322
}
//Not working:
enum MyEnum
{
MY_ID = 140322 // ToDo: Fix last comma
}
Thanks a lot! This bug is now fixed and available in the SVN (rev 285)