summaryrefslogtreecommitdiffstats
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
commit54800209d6fb1fd7a0d648188ecfcb0ad36dd5b8 (patch)
tree417896793429b49996a0c7627df66056584bf250 /eval.c
parente923d742d3978cd1d624abb00e18fb793d2e820b (diff)
downloadruby-54800209d6fb1fd7a0d648188ecfcb0ad36dd5b8.tar.gz
ruby-54800209d6fb1fd7a0d648188ecfcb0ad36dd5b8.tar.xz
ruby-54800209d6fb1fd7a0d648188ecfcb0ad36dd5b8.zip
* regex.c (re_match): p1 may exceed pend limit.
git-svn-id: http://svn.ruby-lang.org/repos/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 958346dee..1bfdee87f 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) {