diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-19 12:00:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-19 12:00:41 +0000 |
commit | 16b445008dc75a5e267b8236d913414ad6b51e2c (patch) | |
tree | fdcb1bf37ce69d71ffeceb58cc4f92a20a0efa66 /template | |
parent | cb4b55d3d85924a544fe8bf7d3193fe365b64ffe (diff) | |
download | ruby-16b445008dc75a5e267b8236d913414ad6b51e2c.tar.gz |
encdb.h.tmpl: remove stale macros
* template/encdb.h.tmpl: remove stale ENCIDX macros which never been
used, ENCINDEX enums is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/encdb.h.tmpl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/template/encdb.h.tmpl b/template/encdb.h.tmpl index a53562f680..9cbb1f0083 100644 --- a/template/encdb.h.tmpl +++ b/template/encdb.h.tmpl @@ -82,14 +82,10 @@ encdirs.each do |encdir| end encodings.each_with_index do |e, i| %>ENC_DEFINE("<%=e%>"); -#define ENCIDX_<%=e.tr('-', '_')%> <%=i%> % end % encidx = encodings.size - 1 % lines.each do |line| <%=line%> -% if /^ENC_(?:DUMMY(?:_UNICODE)?|REPLICATE)\(\s*"([^"]+)/ =~ line -#define ENCIDX_<%=$1.tr('-', '_')%> <%=encidx+=1%> -% end % end #define ENCODING_COUNT <%=count%> |