aboutsummaryrefslogtreecommitdiff
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.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/yuescript/yue_parser.cpp b/src/yuescript/yue_parser.cpp
index 6aa0954..d138979 100644
--- a/src/yuescript/yue_parser.cpp
+++ b/src/yuescript/yue_parser.cpp
@@ -519,10 +519,7 @@ YueParser::YueParser() {
519 expo_exp = Value >> *(space >> expo_value); 519 expo_exp = Value >> *(space >> expo_value);
520 520
521 NotIn = true_(); 521 NotIn = true_();
522 InDiscrete = 522 In = -(key("not") >> NotIn >> space) >> key("in") >> space >> (and_(key("not")) >> confusing_unary_not_error | Value);
523 '[' >> Seperator >> space >> exp_not_tab >> (+(space >> ',' >> space >> exp_not_tab) | space >> ',') >> space >> ']' |
524 '{' >> Seperator >> space >> exp_not_tab >> *(space >> ',' >> space >> exp_not_tab | space >> ',') >> space >> '}';
525 In = -(key("not") >> NotIn >> space) >> key("in") >> space >> (InDiscrete | and_(key("not")) >> confusing_unary_not_error | Exp);
526 523
527 UnaryOperator = 524 UnaryOperator =
528 '-' >> not_(set(">=") | space_one) | 525 '-' >> not_(set(">=") | space_one) |