@@ -870,7 +870,7 @@ CompOp: ast::Cmpop = {
870
870
871
871
Expression = ExpressionAs<ExprGoal>;
872
872
ExpressionAs<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 {
874
874
location,
875
875
end_location: Some(end_location),
876
876
custom: (),
@@ -881,7 +881,7 @@ ExpressionAs<Goal>: Goal = {
881
881
882
882
XorExpression = XorExpressionAs<ExprGoal>;
883
883
XorExpressionAs<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 {
885
885
location,
886
886
end_location: Some(end_location),
887
887
custom: (),
@@ -892,7 +892,7 @@ XorExpressionAs<Goal>: Goal = {
892
892
893
893
AndExpression = AndExpressionAs<ExprGoal>;
894
894
AndExpressionAs<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 {
896
896
location,
897
897
end_location: Some(end_location),
898
898
custom: (),
@@ -903,7 +903,7 @@ AndExpressionAs<Goal>: Goal = {
903
903
904
904
ShiftExpression = ShiftExpressionAs<ExprGoal>;
905
905
ShiftExpressionAs<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 {
907
907
location,
908
908
end_location: Some(end_location),
909
909
custom: (),
@@ -935,7 +935,7 @@ AddOp: ast::Operator = {
935
935
936
936
Term = TermAs<ExprGoal>;
937
937
TermAs<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 {
939
939
location,
940
940
end_location: Some(end_location),
941
941
custom: (),
@@ -971,7 +971,7 @@ UnaryOp: ast::Unaryop = {
971
971
972
972
Power = PowerAs<ExprGoal>;
973
973
PowerAs<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 {
975
975
location,
976
976
end_location: Some(end_location),
977
977
custom: (),
0 commit comments