diff options
Diffstat (limited to 'src')
-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 5b97a25..4b865f5 100644 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
@@ -958,7 +958,7 @@ YueParser::YueParser() { | |||
958 | check_indent >> (multi_line_comment >> space | comment) | | 958 | check_indent >> (multi_line_comment >> space | comment) | |
959 | advance >> ensure(multi_line_comment >> space | comment, pop_indent) | | 959 | advance >> ensure(multi_line_comment >> space | comment, pop_indent) | |
960 | plain_space | 960 | plain_space |
961 | ) >> and_(line_break); | 961 | ) >> and_(stop); |
962 | 962 | ||
963 | indentation_error = pl::user(not_(pipe_operator | eof()), [](const item_t& item) { | 963 | indentation_error = pl::user(not_(pipe_operator | eof()), [](const item_t& item) { |
964 | throw ParserError("unexpected indent"sv, item.begin); | 964 | throw ParserError("unexpected indent"sv, item.begin); |