summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler/core/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-12-08 22:01:47 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-12-08 22:01:47 +0900
commit2e9b8f0d9bf835093338dec197c8003651705a21 (patch)
tree2548082f4cea6b42ff44dff792b85590eaf1845f /mrbgems/mruby-compiler/core/parse.y
parented29d74bfd95362eaeb946fcf7e865d80346b62b (diff)
downloadmruby-2e9b8f0d9bf835093338dec197c8003651705a21.tar.gz
mruby-2e9b8f0d9bf835093338dec197c8003651705a21.zip
Fix a bug caused by `tBDOT3` (argument forwarding).
Diffstat (limited to 'mrbgems/mruby-compiler/core/parse.y')
-rw-r--r--mrbgems/mruby-compiler/core/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y
index 06d616f58..b740d0ed2 100644
--- a/mrbgems/mruby-compiler/core/parse.y
+++ b/mrbgems/mruby-compiler/core/parse.y
@@ -2397,7 +2397,7 @@ paren_args : '(' opt_call_args ')'
{
$$ = $2;
}
- | '(' tDOT3 rparen
+ | '(' tBDOT3 rparen
{
#if 1
mrb_sym r = MRB_OPSYM(mul);
@@ -3493,7 +3493,7 @@ f_arglist_paren : '(' f_args rparen
p->lstate = EXPR_BEG;
p->cmd_start = TRUE;
}
- | '(' tDOT3 rparen
+ | '(' tBDOT3 rparen
{
#if 1
/* til real keyword args implemented */