mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
eval.c: fix message
* eval.c (top_include): fix a warning message, main is not a class or module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
71dcc25fb7
commit
603fcafdc3
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Nov 2 08:23:17 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (top_include): fix a warning message, main is not a class or
|
||||
module.
|
||||
|
||||
Fri Nov 2 04:41:33 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU
|
||||
|
|
3
eval.c
3
eval.c
|
@ -1385,8 +1385,7 @@ top_include(int argc, VALUE *argv, VALUE self)
|
|||
|
||||
rb_secure(4);
|
||||
if (th->top_wrapper) {
|
||||
rb_warning
|
||||
("main#include in the wrapped load is effective only in wrapper module");
|
||||
rb_warning("main.include in the wrapped load is effective only in wrapper module");
|
||||
return rb_mod_include(argc, argv, th->top_wrapper);
|
||||
}
|
||||
return rb_mod_include(argc, argv, rb_cObject);
|
||||
|
|
Loading…
Reference in a new issue