diff options
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
-rw-r--r-- | src/yuescript/yue_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp index 3557534..4e6105b 100644 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
@@ -286,7 +286,7 @@ YueParser::YueParser() { | |||
286 | 286 | ||
287 | ConstAttrib = key("const"); | 287 | ConstAttrib = key("const"); |
288 | CloseAttrib = key("close"); | 288 | CloseAttrib = key("close"); |
289 | local_const_item = Variable | SimpleTable | TableLit; | 289 | local_const_item = Variable | SimpleTable | TableLit | Comprehension; |
290 | LocalAttrib = ( | 290 | LocalAttrib = ( |
291 | ConstAttrib >> Seperator >> space >> local_const_item >> *(space >> ',' >> space >> local_const_item) | | 291 | ConstAttrib >> Seperator >> space >> local_const_item >> *(space >> ',' >> space >> local_const_item) | |
292 | CloseAttrib >> Seperator >> space >> Variable >> *(space >> ',' >> space >> Variable) | 292 | CloseAttrib >> Seperator >> space >> Variable >> *(space >> ',' >> space >> Variable) |