1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/mkmf.rb (checking_for): ignore toplevel.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-05-28 01:40:39 +00:00
parent 47000e8aeb
commit 66c8f4680f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri May 28 10:40:37 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (checking_for): ignore toplevel.
Fri May 28 00:47:16 2010 Masaya Tarui <tarui@ruby-lnag.org> Fri May 28 00:47:16 2010 Masaya Tarui <tarui@ruby-lnag.org>
* error.c (rb_bug): suppress the error report dialog if report_bug() * error.c (rb_bug): suppress the error report dialog if report_bug()

View file

@ -685,7 +685,7 @@ end
# Internal use only. # Internal use only.
# #
def checking_for(m, fmt = nil) def checking_for(m, fmt = nil)
f = caller[0][/in `(.*)'$/, 1] and f << ": " #` for vim #' f = caller[0][/in `([^<].*)'$/, 1] and f << ": " #` for vim #'
m = "checking #{/\Acheck/ =~ f ? '' : 'for '}#{m}... " m = "checking #{/\Acheck/ =~ f ? '' : 'for '}#{m}... "
message "%s", m message "%s", m
a = r = nil a = r = nil