We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39bed0d commit adec9e9Copy full SHA for adec9e9
compiler/parser/python.lalrpop
@@ -756,7 +756,7 @@ LambdaDef: ast::Expr = {
756
}
757
758
OrTest: ast::Expr = {
759
- <e1:AndTest> <location:@L> <e2:("or" AndTest)*> <end_location:@R> => {
+ <location:@L> <e1:AndTest> <e2:("or" AndTest)*> <end_location:@R> => {
760
if e2.is_empty() {
761
e1
762
} else {
@@ -773,7 +773,7 @@ OrTest: ast::Expr = {
773
};
774
775
AndTest: ast::Expr = {
776
- <e1:NotTest> <location:@L> <e2:("and" NotTest)*> <end_location:@R> => {
+ <location:@L> <e1:NotTest> <e2:("and" NotTest)*> <end_location:@R> => {
777
778
779
0 commit comments