summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-26 00:46:09 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-26 00:46:09 -0700
commit7b2969d2ce2b7e5150c2901a10e67d4c2da5e30f (patch)
tree765aec0539b09b0ad9de327abfed99df7d6d429a /src/parse.y
parente350e311360a7bcda0d44ebf105415112bcd60dc (diff)
parentfd49ae0a848214b3c2041b88d561fe4192c61bfd (diff)
downloadmruby-7b2969d2ce2b7e5150c2901a10e67d4c2da5e30f.tar.gz
mruby-7b2969d2ce2b7e5150c2901a10e67d4c2da5e30f.zip
Merge pull request #1072 from monaka/pr-cleanup-code-20130326
Cleanup code.
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/parse.y b/src/parse.y
index bdb646799..4826f4336 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -395,15 +395,6 @@ new_fcall(parser_state *p, mrb_sym b, node *c)
return list4((node*)NODE_FCALL, new_self(p), nsym(b), c);
}
-#if 0
-// (:vcall self mid)
-static node*
-new_vcall(parser_state *p, mrb_sym b)
-{
- return list3((node*)NODE_VCALL, new_self(p), (node*)b);
-}
-#endif
-
// (:super . c)
static node*
new_super(parser_state *p, node *c)
@@ -1790,11 +1781,6 @@ arg : lhs '=' arg
| arg tMATCH arg
{
$$ = call_bin_op(p, $1, "=~", $3);
-#if 0
- if (nd_type($1) == NODE_LIT && TYPE($1->nd_lit) == T_REGEXP) {
- $$ = reg_named_capture_assign($1->nd_lit, $$);
- }
-#endif
}
| arg tNMATCH arg
{