diff options
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
-rwxr-xr-x | src/yuescript/yue_parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp index 0b7f79e..6ecd369 100755 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
@@ -492,7 +492,8 @@ YueParser::YueParser() { | |||
492 | ClassDecl = | 492 | ClassDecl = |
493 | key("class") >> not_(expr(':')) >> | 493 | key("class") >> not_(expr(':')) >> |
494 | -Assignable >> | 494 | -Assignable >> |
495 | -(key("extends") >> PreventIndent >> ensure(Exp, PopIndent)) >> | 495 | -(key("extends") >> PreventIndent >> ensure(Exp, PopIndent)) >> |
496 | -(key("using") >> PreventIndent >> ensure(ExpList, PopIndent)) >> | ||
496 | -ClassBlock; | 497 | -ClassBlock; |
497 | 498 | ||
498 | global_values = NameList >> -(sym('=') >> (TableBlock | ExpListLow)); | 499 | global_values = NameList >> -(sym('=') >> (TableBlock | ExpListLow)); |