aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.y b/parse.y
index 953eaa7396..07ee4bc08f 100644
--- a/parse.y
+++ b/parse.y
@@ -3403,7 +3403,7 @@ bv_decls : bvar
/*%c%*/
/*%c
{
- $$ = rb_ary_new2($1);
+ $$ = rb_ary_new3(1, $1);
}
%*/
| bv_decls ',' bvar
@@ -3417,10 +3417,10 @@ bv_decls : bvar
bvar : tIDENTIFIER
{
- new_bv($1);
+ new_bv(get_id($1));
/*%%%*/
/*%
- $$ = $1;
+ $$ = get_value($1);
%*/
}
| f_bad_arg