зеркало из https://github.com/github/ruby.git
* eval.c (rb_interrupt): suppress a gcc's officious warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e8fc29990f
Коммит
b2d827cc5b
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Jul 6 15:21:25 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* eval.c (rb_interrupt): suppress a gcc's officious warning.
|
||||||
|
|
||||||
Fri Jul 6 14:57:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Jul 6 14:57:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (keyword_to_name): constified.
|
* parse.y (keyword_to_name): constified.
|
||||||
|
|
5
eval.c
5
eval.c
|
@ -720,9 +720,10 @@ rb_exc_fatal(mesg)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
rb_interrupt()
|
rb_interrupt(void)
|
||||||
{
|
{
|
||||||
rb_raise(rb_eInterrupt, "");
|
static const char fmt[1] = {'\0'};
|
||||||
|
rb_raise(rb_eInterrupt, fmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче