summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-06 07:40:31 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-06 07:40:31 +0000
commitf0ccffd530ff4faafe6f07df94818e807b96f851 (patch)
tree6e79e20879d3ea025b6eda42b0084f56789772d0 /parse.y
parent7c9c33e9add999d2c9a9073de5130936e4124c9c (diff)
* eval.c (rb_load): should check if tainted even when wrap is
specified. * regex.c (re_compile_pattern): too much optimization for the cases like /(.|a)b/. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 5721886f40..c67a51096a 100644
--- a/parse.y
+++ b/parse.y
@@ -1147,7 +1147,7 @@ mrhs_basic : args ',' arg
| tSTAR arg
{
value_expr($2);
- $$ = NEW_RESTARGS($2);
+ $$ = NEW_REXPAND($2);
}
primary : literal