diff options
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
-rw-r--r-- | src/yuescript/yue_parser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp index 24f821c..1ff772b 100644 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
@@ -523,11 +523,11 @@ YueParser::YueParser() { | |||
523 | ClassBlock = +SpaceBreak >> Advance >> Seperator >> ClassLine >> *(+SpaceBreak >> ClassLine) >> PopIndent; | 523 | ClassBlock = +SpaceBreak >> Advance >> Seperator >> ClassLine >> *(+SpaceBreak >> ClassLine) >> PopIndent; |
524 | 524 | ||
525 | ClassDecl = | 525 | ClassDecl = |
526 | Space >> key("class") >> not_(expr(':')) >> | 526 | Space >> key("class") >> not_(expr(':')) >> disable_arg_table_block( |
527 | -Assignable >> | 527 | -Assignable >> |
528 | -(Space >> key("extends") >> PreventIndent >> ensure(Exp, PopIndent)) >> | 528 | -(Space >> key("extends") >> PreventIndent >> ensure(Exp, PopIndent)) >> |
529 | -(Space >> key("using") >> PreventIndent >> ensure(ExpList, PopIndent)) >> | 529 | -(Space >> key("using") >> PreventIndent >> ensure(ExpList, PopIndent)) |
530 | -ClassBlock; | 530 | ) >> -ClassBlock; |
531 | 531 | ||
532 | global_values = NameList >> -(sym('=') >> (TableBlock | ExpListLow)); | 532 | global_values = NameList >> -(sym('=') >> (TableBlock | ExpListLow)); |
533 | global_op = expr('*') | expr('^'); | 533 | global_op = expr('*') | expr('^'); |