From 93cb05ebda81ebad9510e6903b7426cdfeab7155 Mon Sep 17 00:00:00 2001 From: harupy Date: Sun, 4 Dec 2022 05:45:15 +0900 Subject: [PATCH] Fix location --- parser/python.lalrpop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/python.lalrpop b/parser/python.lalrpop index ee108edc52..442a5ed887 100644 --- a/parser/python.lalrpop +++ b/parser/python.lalrpop @@ -756,7 +756,7 @@ LambdaDef: ast::Expr = { } OrTest: ast::Expr = { - => { + => { if e2.is_empty() { e1 } else { @@ -773,7 +773,7 @@ OrTest: ast::Expr = { }; AndTest: ast::Expr = { - => { + => { if e2.is_empty() { e1 } else {