summaryrefslogtreecommitdiff
path: root/src/yuescript/yue_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
-rw-r--r--src/yuescript/yue_parser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp
index 2b0aea8..0cf7f05 100644
--- a/src/yuescript/yue_parser.cpp
+++ b/src/yuescript/yue_parser.cpp
@@ -501,9 +501,8 @@ YueParser::YueParser() {
501 return true; 501 return true;
502 }); 502 });
503 503
504 Omit = expr('!');
505 CatchBlock = line_break >> *space_break >> check_indent_match >> space >> key("catch") >> space >> Variable >> space >> in_block; 504 CatchBlock = line_break >> *space_break >> check_indent_match >> space >> key("catch") >> space >> Variable >> space >> in_block;
506 Try = key("try") >> -Omit >> space >> (in_block | Exp) >> -CatchBlock; 505 Try = key("try") >> -ExistentialOp >> space >> (in_block | Exp) >> -CatchBlock;
507 506
508 list_value = 507 list_value =
509 and_( 508 and_(