mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 18744:
* lib/scanf.rb (Scanf::FormatSpecifier#initialize): %i should accept single digit decimal. [ruby-core:18355] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@21682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f5fe8a14d
commit
baac9b0351
3 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jan 20 12:23:38 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/scanf.rb (Scanf::FormatSpecifier#initialize): %i should accept
|
||||||
|
single digit decimal. [ruby-core:18355]
|
||||||
|
|
||||||
Mon Jan 19 18:25:28 2009 Tanaka Akira <akr@fsij.org>
|
Mon Jan 19 18:25:28 2009 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* configure.in (rb_cv_broken_glibc_ia64_erfc): renamed from
|
* configure.in (rb_cv_broken_glibc_ia64_erfc): renamed from
|
||||||
|
|
|
@ -357,7 +357,7 @@ module Scanf
|
||||||
|
|
||||||
# %i
|
# %i
|
||||||
when /%\*?i/
|
when /%\*?i/
|
||||||
[ "([-+]?(?:(?:0[0-7]+)|(?:0[Xx]#{h}+)|(?:[1-9]\\d+)))", :extract_integer ]
|
[ "([-+]?(?:(?:0[0-7]+)|(?:0[Xx]#{h}+)|(?:[1-9]\\d*)))", :extract_integer ]
|
||||||
|
|
||||||
# %5i
|
# %5i
|
||||||
when /%\*?(\d+)i/
|
when /%\*?(\d+)i/
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
#define RUBY_VERSION "1.8.7"
|
#define RUBY_VERSION "1.8.7"
|
||||||
#define RUBY_RELEASE_DATE "2009-01-19"
|
#define RUBY_RELEASE_DATE "2009-01-20"
|
||||||
#define RUBY_VERSION_CODE 187
|
#define RUBY_VERSION_CODE 187
|
||||||
#define RUBY_RELEASE_CODE 20090119
|
#define RUBY_RELEASE_CODE 20090120
|
||||||
#define RUBY_PATCHLEVEL 89
|
#define RUBY_PATCHLEVEL 90
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
#define RUBY_VERSION_MINOR 8
|
#define RUBY_VERSION_MINOR 8
|
||||||
#define RUBY_VERSION_TEENY 7
|
#define RUBY_VERSION_TEENY 7
|
||||||
#define RUBY_RELEASE_YEAR 2009
|
#define RUBY_RELEASE_YEAR 2009
|
||||||
#define RUBY_RELEASE_MONTH 1
|
#define RUBY_RELEASE_MONTH 1
|
||||||
#define RUBY_RELEASE_DAY 19
|
#define RUBY_RELEASE_DAY 20
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Loading…
Add table
Reference in a new issue