|  | ||
| 
 | 
Rici Lake wrote:
a = {
  b = {
    c = 22
  }
}
--> semicolons shouldn't appear in table constructors, although you 
can write a comma as a semicolon for backwards compatibility.
I know the above syntax works, but why doesn't the syntax I use below?
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?