Parsing crashing the process

Jun 21, 2014 at 3:37 PM
I know that is not valid syntax, but I discover this one while testing ideas...

Given the lua script
A = { }
A[ 1 ] : double = 10
It gives me the parse exception, which i capture, and then it closes the process

Jun 23, 2014 at 10:02 PM
Edited Jun 23, 2014 at 10:02 PM
There was a error in the parser, that has thrown a NullReferenceException.

Try it with the new version again. And let me know.
Jun 24, 2014 at 7:46 PM
It is not crashing anymore... I don;t know if it is valid syntax, but at least it does not crash thew process
Jun 24, 2014 at 9:23 PM
Good. It is not valid syntax, because a lua-table only stores objects. There is no concept for typed lua-tables. So, there should be a parse exception.