mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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@18744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7051193fb5
commit
d1a70bebcf
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Aug 21 06:12:56 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/scanf.rb (Scanf::FormatSpecifier#initialize): %i should accept
|
||||||
|
single digit decimal. [ruby-core:18355]
|
||||||
|
|
||||||
Tue Aug 19 20:32:48 2008 Akinori MUSHA <knu@iDaemons.org>
|
Tue Aug 19 20:32:48 2008 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
* enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator to
|
* enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator to
|
||||||
|
|
|
@ -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,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.8.7"
|
#define RUBY_VERSION "1.8.7"
|
||||||
#define RUBY_RELEASE_DATE "2008-08-19"
|
#define RUBY_RELEASE_DATE "2008-08-21"
|
||||||
#define RUBY_VERSION_CODE 187
|
#define RUBY_VERSION_CODE 187
|
||||||
#define RUBY_RELEASE_CODE 20080819
|
#define RUBY_RELEASE_CODE 20080821
|
||||||
#define RUBY_PATCHLEVEL 5000
|
#define RUBY_PATCHLEVEL 5000
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 7
|
#define RUBY_VERSION_TEENY 7
|
||||||
#define RUBY_RELEASE_YEAR 2008
|
#define RUBY_RELEASE_YEAR 2008
|
||||||
#define RUBY_RELEASE_MONTH 8
|
#define RUBY_RELEASE_MONTH 8
|
||||||
#define RUBY_RELEASE_DAY 19
|
#define RUBY_RELEASE_DAY 21
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue