From 08b6aacc1a14440e0f1644a05238559c6c585e38 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 18 Apr 2022 18:37:09 +0900 Subject: Fix the wrong index of the previous component [Bug #18739] --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index d391354bea..c7ed2edea0 100644 --- a/parse.y +++ b/parse.y @@ -1785,7 +1785,7 @@ expr : command_call p_top_expr_body { pop_pvtbl(p, $3); - p->ctxt.in_kwarg = $1.in_kwarg; + p->ctxt.in_kwarg = $2.in_kwarg; /*%%%*/ $$ = NEW_CASE3($1, NEW_IN($4, NEW_TRUE(&@4), NEW_FALSE(&@4), &@4), &@$); /*% %*/ -- cgit v1.2.3