diff --git a/parser/python.lalrpop b/parser/python.lalrpop index a73d835..4ec31c0 100644 --- a/parser/python.lalrpop +++ b/parser/python.lalrpop @@ -1023,7 +1023,7 @@ SubscriptList: ast::Expr = { }; Subscript: ast::Expr = { - Test<"all">, + NamedExpressionTest, ?> ":" ?> => { let lower = e1.map(Box::new); let upper = e2.map(Box::new);