@@ -870,7 +870,7 @@ CompOp: ast::Cmpop = {
870870
871871Expression = ExpressionAs<ExprGoal>;
872872ExpressionAs<Goal>: Goal = {
873- <e1:Expression > <location:@L > "|" <e2:XorExpression> <end_location:@R> => ast::Expr {
873+ <location:@L > <e1:Expression > "|" <e2:XorExpression> <end_location:@R> => ast::Expr {
874874 location,
875875 end_location: Some(end_location),
876876 custom: (),
@@ -881,7 +881,7 @@ ExpressionAs<Goal>: Goal = {
881881
882882XorExpression = XorExpressionAs<ExprGoal>;
883883XorExpressionAs<Goal>: Goal = {
884- <e1:XorExpression> <location:@L> "^" <e2:AndExpression> <end_location:@R> => ast::Expr {
884+ <location:@L> <e1:XorExpression > "^" <e2:AndExpression> <end_location:@R> => ast::Expr {
885885 location,
886886 end_location: Some(end_location),
887887 custom: (),
@@ -892,7 +892,7 @@ XorExpressionAs<Goal>: Goal = {
892892
893893AndExpression = AndExpressionAs<ExprGoal>;
894894AndExpressionAs<Goal>: Goal = {
895- <e1:AndExpression > <location:@L > "&" <e2:ShiftExpression> <end_location:@R> => ast::Expr {
895+ <location:@L > <e1:AndExpression > "&" <e2:ShiftExpression> <end_location:@R> => ast::Expr {
896896 location,
897897 end_location: Some(end_location),
898898 custom: (),
@@ -903,7 +903,7 @@ AndExpressionAs<Goal>: Goal = {
903903
904904ShiftExpression = ShiftExpressionAs<ExprGoal>;
905905ShiftExpressionAs<Goal>: Goal = {
906- <e1:ShiftExpression > <location:@L > <op:ShiftOp> <e2:ArithmeticExpression> <end_location:@R> => ast::Expr {
906+ <location:@L > <e1:ShiftExpression > <op:ShiftOp> <e2:ArithmeticExpression> <end_location:@R> => ast::Expr {
907907 location,
908908 end_location: Some(end_location),
909909 custom: (),
@@ -935,7 +935,7 @@ AddOp: ast::Operator = {
935935
936936Term = TermAs<ExprGoal>;
937937TermAs<Goal>: Goal = {
938- <a:Term > <location:@L > <op:MulOp> <b:Factor> <end_location:@R> => ast::Expr {
938+ <location:@L > <a:Term > <op:MulOp> <b:Factor> <end_location:@R> => ast::Expr {
939939 location,
940940 end_location: Some(end_location),
941941 custom: (),
@@ -971,7 +971,7 @@ UnaryOp: ast::Unaryop = {
971971
972972Power = PowerAs<ExprGoal>;
973973PowerAs<Goal>: Goal = {
974- <e:AtomExpr > <location:@L > "**" <b:Factor> <end_location:@R> => ast::Expr {
974+ <location:@L > <e:AtomExpr > "**" <b:Factor> <end_location:@R> => ast::Expr {
975975 location,
976976 end_location: Some(end_location),
977977 custom: (),
0 commit comments