diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-06 00:42:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-06 00:42:14 +0000 |
commit | 928d1a5261fc3afcfcdfb267b6b5f0323b81a669 (patch) | |
tree | 787a474825dc79e69fd80a2e2c6b78f807610980 /template | |
parent | 5d316e77864376805fee44a01bfb1728e9c47f6e (diff) | |
download | ruby-928d1a5261fc3afcfcdfb267b6b5f0323b81a669.tar.gz |
encoding.c: unicode_p
* enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): endian-less wide
UTF encodings are dummy but Unicode.
* encoding.c (rb_encdb_set_unicode): set Unicode flag.
* template/encdb.h.tmpl: allow ENC_DUMMY variants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/encdb.h.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/encdb.h.tmpl b/template/encdb.h.tmpl index 4275a4c2f0..308227e9e9 100644 --- a/template/encdb.h.tmpl +++ b/template/encdb.h.tmpl @@ -61,7 +61,7 @@ encdirs.each do |encdir| raise ArgumentError, '%s:%d: ENC_ALIAS: %s is not defined yet. (alias %s)' % [fn, $., $2, $1] unless defs[$2.upcase] - when /^ENC_DUMMY\(\s*"([^"]+)"/ + when /^ENC_DUMMY\w*\(\s*"([^"]+)"/ count += 1 else next |