mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Minor fix to error message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ee0bdcd628
commit
4441ea370b
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Aug 26 04:38:29 2004 Dave Thomas <dave@pragprog.com>
|
||||||
|
|
||||||
|
* eval.c (return_jump): Minor typo in error message. Now reads
|
||||||
|
"return can't jump across threads".
|
||||||
|
|
||||||
Wed Aug 25 15:18:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Wed Aug 25 15:18:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (rb_longjmp): Exception#to_str is no longer defined.
|
* eval.c (rb_longjmp): Exception#to_str is no longer defined.
|
||||||
|
|
2
eval.c
2
eval.c
|
@ -4553,7 +4553,7 @@ return_jump(retval)
|
||||||
JUMP_TAG(TAG_RETURN);
|
JUMP_TAG(TAG_RETURN);
|
||||||
}
|
}
|
||||||
if (tt->tag == PROT_THREAD) {
|
if (tt->tag == PROT_THREAD) {
|
||||||
rb_raise(rb_eThreadError, "return jump can't across threads");
|
rb_raise(rb_eThreadError, "return can jump't across threads");
|
||||||
}
|
}
|
||||||
tt = tt->prev;
|
tt = tt->prev;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# = Synopsis
|
# = Synopsis
|
||||||
#
|
#
|
||||||
# This library allows command-line tools to encapsulate their usage
|
# This library allows command-line tools to encapsulate their usage
|
||||||
# as a comment at the top of the main file. Calling <tt>RDoc::show_usage</tt>
|
# as a comment at the top of the main file. Calling <tt>RDoc::usage</tt>
|
||||||
# then displays some or all of that comment, and optionally exits
|
# then displays some or all of that comment, and optionally exits
|
||||||
# the program with an exit status. We always look for the comment
|
# the program with an exit status. We always look for the comment
|
||||||
# in the main program file, so it is safe to call this method
|
# in the main program file, so it is safe to call this method
|
||||||
|
@ -190,7 +190,6 @@ module RDoc
|
||||||
#####
|
#####
|
||||||
# Report the fact that no doc comment count be found
|
# Report the fact that no doc comment count be found
|
||||||
def RDoc.no_comment
|
def RDoc.no_comment
|
||||||
fail "xxx"
|
|
||||||
$stderr.puts "No usage information available for this program"
|
$stderr.puts "No usage information available for this program"
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue