|
a = { b = { c = 22 } }--> semicolons shouldn't appear in table constructors, although you can write a comma as a semicolon for backwards compatibility.
On 18-Aug-04, at 5:46 PM, Marc Nijdam wrote:
I'm not finding this in the book or the FAQ, so here goes: a = { b = {}; b.c = 22; }; will fail with a "expected to close '{' at line 1" on Lua 5.0According to the syntax definition in the reference manual this is supposed to work. Am I missing something?