diff options
Diffstat (limited to 'src/yuescript/yue_parser.cpp')
-rwxr-xr-x | 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 f86afb4..ef700ae 100755 --- a/src/yuescript/yue_parser.cpp +++ b/src/yuescript/yue_parser.cpp | |||
@@ -249,7 +249,7 @@ YueParser::YueParser() { | |||
249 | >> -Space >> Break >> SwitchBlock; | 249 | >> -Space >> Break >> SwitchBlock; |
250 | 250 | ||
251 | assignment = ExpList >> Assign; | 251 | assignment = ExpList >> Assign; |
252 | IfCond = disable_do_chain_arg_table_block(assignment | Exp); | 252 | IfCond = disable_chain(disable_arg_table_block(assignment | Exp)); |
253 | IfElseIf = -(Break >> *EmptyLine >> CheckIndent) >> Space >> key("elseif") >> IfCond >> plain_body_with("then"); | 253 | IfElseIf = -(Break >> *EmptyLine >> CheckIndent) >> Space >> key("elseif") >> IfCond >> plain_body_with("then"); |
254 | IfElse = -(Break >> *EmptyLine >> CheckIndent) >> Space >> key("else") >> plain_body; | 254 | IfElse = -(Break >> *EmptyLine >> CheckIndent) >> Space >> key("else") >> plain_body; |
255 | IfType = (expr("if") | expr("unless")) >> not_(AlphaNum); | 255 | IfType = (expr("if") | expr("unless")) >> not_(AlphaNum); |