From 06d483006c727c922b8a099e66b4a3dfd8788270 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 13 Jun 2012 17:54:14 +0000 Subject: * Makefile.in: don't remove macros. now name2ctype uses macros. * tool/enc-unicode.rb: add comment why it uses Hash#index. * enc/unicode/{name2ctype.kwd,name2ctype.src,name2ctype.h.blt}: update to follow the current name2ctype.h. FYI current Unicode version is 6.1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 1c5bdb7961..b9cec567d3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -294,7 +294,7 @@ enc/unicode/name2ctype.h: enc/unicode/name2ctype.kwd trap '$(RM) $@-1.h $@-2.h' 0 && \ set -x; \ sed '/^#ifdef USE_UNICODE_PROPERTIES/,/^#endif/d' $? | gperf $(NAME2CTYPE_OPTIONS) > $@-1.h && \ - sed -e '/^#ifdef USE_UNICODE_PROPERTIES/,/^#endif/{' -e '/^#/d' -e '}' $? | gperf $(NAME2CTYPE_OPTIONS) > $@-2.h && \ + sed '/^#ifdef USE_UNICODE_PROPERTIES/d;/^#endif/d' $? | gperf $(NAME2CTYPE_OPTIONS) > $@-2.h && \ diff -DUSE_UNICODE_PROPERTIES $@-1.h $@-2.h > $@.tmp || :; \ $(MV) $@.tmp $@ && \ $(CP) $? $(?:.kwd=.src) && \ -- cgit v1.2.3