summaryrefslogtreecommitdiff
path: root/template/encdb.h.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-19 12:00:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-19 12:00:41 +0000
commit16b445008dc75a5e267b8236d913414ad6b51e2c (patch)
treefdcb1bf37ce69d71ffeceb58cc4f92a20a0efa66 /template/encdb.h.tmpl
parentcb4b55d3d85924a544fe8bf7d3193fe365b64ffe (diff)
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/encdb.h.tmpl')
-rw-r--r--template/encdb.h.tmpl4
1 files changed, 0 insertions, 4 deletions
diff --git a/template/encdb.h.tmpl b/template/encdb.h.tmpl
index a53562f..9cbb1f0 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%>