1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2010-10-13 14:16:49 +00:00
parent e0a7c207ff
commit b238a3f3fd
6 changed files with 8 additions and 1 deletions

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,5 @@
%{
#define long size_t
#ifdef USE_UNICODE_PROPERTIES
/* 'Any': - */

View file

@ -1,4 +1,5 @@
%{
#define long size_t
#ifdef USE_UNICODE_PROPERTIES
/* 'Any': - */

View file

@ -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|