diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-13 14:16:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-13 14:16:49 +0000 |
commit | b238a3f3fdb575749121f35bbf37bfc1baed050c (patch) | |
tree | 263d36ec618f21b42ede70f7aaf38da650fc49cc | |
parent | e0a7c207ffd386f5c4d270755817e4d7a4735c96 (diff) |
* tool/enc-unicode.rb: get rid of lots of warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | enc/unicode/name2ctype.h | 1 | ||||
-rw-r--r-- | enc/unicode/name2ctype.h.blt | 1 | ||||
-rw-r--r-- | enc/unicode/name2ctype.kwd | 1 | ||||
-rw-r--r-- | enc/unicode/name2ctype.src | 1 | ||||
-rwxr-xr-x | tool/enc-unicode.rb | 1 |
6 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,6 @@ -Wed Oct 13 23:07:19 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> +Wed Oct 13 23:16:46 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * tool/enc-unicode.rb: get rid of lots of warnings. * iseq.c (insn_operand_intern, rb_iseq_disasm): fix format specifiers. diff --git a/enc/unicode/name2ctype.h b/enc/unicode/name2ctype.h index 2248b8f7cb..df6f02e826 100644 --- a/enc/unicode/name2ctype.h +++ b/enc/unicode/name2ctype.h @@ -34,6 +34,7 @@ error "gperf generated tables don't work with this execution character set. Plea #endif +#define long size_t #ifdef USE_UNICODE_PROPERTIES #ifdef USE_UNICODE_PROPERTIES diff --git a/enc/unicode/name2ctype.h.blt b/enc/unicode/name2ctype.h.blt index 2248b8f7cb..df6f02e826 100644 --- a/enc/unicode/name2ctype.h.blt +++ b/enc/unicode/name2ctype.h.blt @@ -34,6 +34,7 @@ error "gperf generated tables don't work with this execution character set. Plea #endif +#define long size_t #ifdef USE_UNICODE_PROPERTIES #ifdef USE_UNICODE_PROPERTIES diff --git a/enc/unicode/name2ctype.kwd b/enc/unicode/name2ctype.kwd index ff136177ca..f4341722fd 100644 --- a/enc/unicode/name2ctype.kwd +++ b/enc/unicode/name2ctype.kwd @@ -1,4 +1,5 @@ %{ +#define long size_t #ifdef USE_UNICODE_PROPERTIES /* 'Any': - */ diff --git a/enc/unicode/name2ctype.src b/enc/unicode/name2ctype.src index ff136177ca..f4341722fd 100644 --- a/enc/unicode/name2ctype.src +++ b/enc/unicode/name2ctype.src @@ -1,4 +1,5 @@ %{ +#define long size_t #ifdef USE_UNICODE_PROPERTIES /* 'Any': - */ diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb index b7f5bb57e7..351d40ed84 100755 --- a/tool/enc-unicode.rb +++ b/tool/enc-unicode.rb @@ -205,6 +205,7 @@ end # Write Data puts '%{' +puts '#define long size_t' props, data = parse_unicode_data(get_file('UnicodeData.txt')) print "\n#ifdef USE_UNICODE_PROPERTIES" props.each do |name| |