Use Named Reference for RHS of def_name

This commit is contained in:
ydah 2024-09-24 22:25:31 +09:00 committed by Yudai Takada
parent aa892378a1
commit fd2f66e3c0
Notes: git 2025-01-03 12:22:09 +00:00

View File

@ -3388,13 +3388,12 @@ expr : command_call
def_name : fname
{
ID fname = $1;
numparam_name(p, fname);
numparam_name(p, $fname);
local_push(p, 0);
p->ctxt.in_def = 1;
p->ctxt.in_rescue = before_rescue;
p->ctxt.cant_return = 0;
$$ = $1;
$$ = $fname;
}
;