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:
parent
e0a7c207ff
commit
b238a3f3fd
6 changed files with 8 additions and 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.
|
* iseq.c (insn_operand_intern, rb_iseq_disasm): fix format specifiers.
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ error "gperf generated tables don't work with this execution character set. Plea
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#define long size_t
|
||||||
|
|
||||||
#ifdef USE_UNICODE_PROPERTIES
|
#ifdef USE_UNICODE_PROPERTIES
|
||||||
#ifdef USE_UNICODE_PROPERTIES
|
#ifdef USE_UNICODE_PROPERTIES
|
||||||
|
|
|
@ -34,6 +34,7 @@ error "gperf generated tables don't work with this execution character set. Plea
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#define long size_t
|
||||||
|
|
||||||
#ifdef USE_UNICODE_PROPERTIES
|
#ifdef USE_UNICODE_PROPERTIES
|
||||||
#ifdef USE_UNICODE_PROPERTIES
|
#ifdef USE_UNICODE_PROPERTIES
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
%{
|
%{
|
||||||
|
#define long size_t
|
||||||
|
|
||||||
#ifdef USE_UNICODE_PROPERTIES
|
#ifdef USE_UNICODE_PROPERTIES
|
||||||
/* 'Any': - */
|
/* 'Any': - */
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
%{
|
%{
|
||||||
|
#define long size_t
|
||||||
|
|
||||||
#ifdef USE_UNICODE_PROPERTIES
|
#ifdef USE_UNICODE_PROPERTIES
|
||||||
/* 'Any': - */
|
/* 'Any': - */
|
||||||
|
|
|
@ -205,6 +205,7 @@ end
|
||||||
|
|
||||||
# Write Data
|
# Write Data
|
||||||
puts '%{'
|
puts '%{'
|
||||||
|
puts '#define long size_t'
|
||||||
props, data = parse_unicode_data(get_file('UnicodeData.txt'))
|
props, data = parse_unicode_data(get_file('UnicodeData.txt'))
|
||||||
print "\n#ifdef USE_UNICODE_PROPERTIES"
|
print "\n#ifdef USE_UNICODE_PROPERTIES"
|
||||||
props.each do |name|
|
props.each do |name|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue