зеркало из https://github.com/github/ruby.git
* parse.y (rb_id2str): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9019911a2f
Коммит
f41c0a54e2
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Sep 13 13:47:08 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* parse.y (rb_id2str): fixed typo.
|
||||||
|
|
||||||
Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Wed Sep 12 23:12:22 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* ruby.c (proc_options): -W should be allowed in RUBYOPT
|
* ruby.c (proc_options): -W should be allowed in RUBYOPT
|
||||||
|
|
3
parse.y
3
parse.y
|
@ -8529,7 +8529,6 @@ rb_intern_str(VALUE str)
|
||||||
VALUE
|
VALUE
|
||||||
rb_id2str(ID id)
|
rb_id2str(ID id)
|
||||||
{
|
{
|
||||||
const char *name;
|
|
||||||
st_data_t data;
|
st_data_t data;
|
||||||
|
|
||||||
if (id < tLAST_TOKEN) {
|
if (id < tLAST_TOKEN) {
|
||||||
|
@ -8560,7 +8559,7 @@ rb_id2str(ID id)
|
||||||
id2 = (id & ~ID_SCOPE_MASK) | ID_CONST;
|
id2 = (id & ~ID_SCOPE_MASK) | ID_CONST;
|
||||||
}
|
}
|
||||||
str = rb_str_dup(str);
|
str = rb_str_dup(str);
|
||||||
rb_str_cat(buf, "=", 1);
|
rb_str_cat(str, "=", 1);
|
||||||
rb_intern_str(str);
|
rb_intern_str(str);
|
||||||
if (st_lookup(global_symbols.id_str, id, &data))
|
if (st_lookup(global_symbols.id_str, id, &data))
|
||||||
return (VALUE)data;
|
return (VALUE)data;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2007-09-12"
|
#define RUBY_RELEASE_DATE "2007-09-13"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20070912
|
#define RUBY_RELEASE_CODE 20070913
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 9
|
#define RUBY_RELEASE_MONTH 9
|
||||||
#define RUBY_RELEASE_DAY 12
|
#define RUBY_RELEASE_DAY 13
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Загрузка…
Ссылка в новой задаче