summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-26 00:48:33 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-26 00:48:33 +0000
commit7c4d1fe5e04cee519322a02d6e54801b0b118ea0 (patch)
tree417896793429b49996a0c7627df66056584bf250 /eval.c
parent12852c2e9ad0b25395d32c4ee147eb770408cf41 (diff)
* regex.c (re_match): p1 may exceed pend limit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/eval.c b/eval.c
index 958346d..1bfdee8 100644
--- a/eval.c
+++ b/eval.c
@@ -3161,11 +3161,6 @@ rb_eval(self, n)
if (RTEST(ruby_verbose) && ruby_class == origin && body->nd_cnt == 0) {
rb_warning("method redefined; discarding old %s", rb_id2name(node->nd_mid));
}
- if (node->nd_noex) { /* toplevel */
- /* should upgrade to rb_warn() if no super was called inside? */
- rb_warning("overriding global function `%s'",
- rb_id2name(node->nd_mid));
- }
}
if (node->nd_noex == NOEX_PUBLIC) {