diff options
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
-rw-r--r-- | src/yuescript/yue_parser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp index e70c4a0..78e6e52 100644 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
@@ -798,12 +798,12 @@ YueParser::YueParser() { | |||
798 | 798 | ||
799 | YueLineComment = *(not_(set("\r\n")) >> any_char); | 799 | YueLineComment = *(not_(set("\r\n")) >> any_char); |
800 | yue_line_comment = "--" >> YueLineComment >> and_(stop); | 800 | yue_line_comment = "--" >> YueLineComment >> and_(stop); |
801 | YueMultilineComment = multi_line_content; | 801 | MultilineCommentInner = multi_line_content; |
802 | yue_multiline_comment = multi_line_open >> YueMultilineComment >> multi_line_close; | 802 | YueMultilineComment = multi_line_open >> MultilineCommentInner >> multi_line_close; |
803 | yue_comment = check_indent >> ( | 803 | yue_comment = check_indent >> ( |
804 | ( | 804 | ( |
805 | yue_multiline_comment >> | 805 | YueMultilineComment >> |
806 | *(set(" \t") | yue_multiline_comment) >> | 806 | *(set(" \t") | YueMultilineComment) >> |
807 | -yue_line_comment | 807 | -yue_line_comment |
808 | ) | yue_line_comment | 808 | ) | yue_line_comment |
809 | ) >> and_(line_break); | 809 | ) >> and_(line_break); |