diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-04-18 18:37:09 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-04-18 18:37:09 +0900 |
commit | 08b6aacc1a14440e0f1644a05238559c6c585e38 (patch) | |
tree | 6d936f6d713a6bfed24e5017e26d2c6d450717a6 | |
parent | b0666d64176457786c854c12c79f7beae392bee0 (diff) |
Fix the wrong index of the previous component [Bug #18739]
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1785,7 +1785,7 @@ expr : command_call p_top_expr_body { pop_pvtbl(p, $<tbl>3); - p->ctxt.in_kwarg = $<ctxt>1.in_kwarg; + p->ctxt.in_kwarg = $<ctxt>2.in_kwarg; /*%%%*/ $$ = NEW_CASE3($1, NEW_IN($4, NEW_TRUE(&@4), NEW_FALSE(&@4), &@4), &@$); /*% %*/ |