From 16b445008dc75a5e267b8236d913414ad6b51e2c Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 19 Oct 2013 12:00:41 +0000 Subject: 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 --- template/encdb.h.tmpl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'template') 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%> -- cgit v1.2.3