diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuescript/yue_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp index 3772af0..f712db7 100644 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
| @@ -922,9 +922,9 @@ YueParser::YueParser() { | |||
| 922 | YueComment | | 922 | YueComment | |
| 923 | check_indent_match >> space >> (ClassMemberList | Statement) >> -(space >> ','); | 923 | check_indent_match >> space >> (ClassMemberList | Statement) >> -(space >> ','); |
| 924 | ClassBlock = | 924 | ClassBlock = |
| 925 | +space_break >> | 925 | ((+(plain_space >> line_break)) | (+space_break >> not_(expr("--")))) >> |
| 926 | advance_match >> Seperator >> | 926 | advance_match >> Seperator >> |
| 927 | class_line >> *(+space_break >> class_line) >> | 927 | class_line >> *(((plain_space >> line_break) >> class_line) | (+space_break >> not_(expr("--")) >> class_line)) >> |
| 928 | pop_indent; | 928 | pop_indent; |
| 929 | 929 | ||
| 930 | ClassDecl = | 930 | ClassDecl = |
