diff options
Diffstat (limited to 'script/parser/grammar.lua')
-rw-r--r-- | script/parser/grammar.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/script/parser/grammar.lua b/script/parser/grammar.lua index 5120df20..1a3913e0 100644 --- a/script/parser/grammar.lua +++ b/script/parser/grammar.lua @@ -381,14 +381,17 @@ Table <- Sp ({} TL {| TableField* |} DirtyTR {}) -> Table TableField <- COMMA / SEMICOLON + / Dots / NewIndex / NewField - / Exp->NoNil + / TableExp Index <- BL DirtyExp DirtyBR NewIndex <- Sp ({} Index NeedAssign DirtyExp {}) -> NewIndex NewField <- Sp ({} MustName ASSIGN DirtyExp {}) -> NewField +TableExp <- Sp ({} Exp {}) + -> TableExp ExpFunction <- Function -> ExpFunction |