diff options
author | Kazuki Tsujimoto <kazuki@callcc.net> | 2021-08-19 17:03:17 +0900 |
---|---|---|
committer | Kazuki Tsujimoto <kazuki@callcc.net> | 2021-08-19 17:07:58 +0900 |
commit | ecb6d6a4ef058b5598a7633c3921eeab08ce11c6 (patch) | |
tree | 0df5b09fae002fff45b63ccf6ca3afc07a9a9bae /parse.y | |
parent | 00d66f7ec215406b5977fb490b06dae71a4fede6 (diff) |
Allow omission of parentheses in one line pattern matching [Feature #16182]
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1732,7 +1732,7 @@ expr : command_call p->ctxt.in_kwarg = 1; } {$<tbl>$ = push_pvtbl(p);} - p_expr + p_top_expr_body {pop_pvtbl(p, $<tbl>4);} { p->ctxt.in_kwarg = $<ctxt>3.in_kwarg; @@ -1750,7 +1750,7 @@ expr : command_call p->ctxt.in_kwarg = 1; } {$<tbl>$ = push_pvtbl(p);} - p_expr + p_top_expr_body {pop_pvtbl(p, $<tbl>4);} { p->ctxt.in_kwarg = $<ctxt>3.in_kwarg; |