From 40612c5bb554241537067e46984aada23e6f7365 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 1 Jul 2008 08:51:33 +0000 Subject: [PATCH] * enc/make_encdb.h: always add ';' at the end of line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ enc/make_encdb.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9630a6034b..71c12ded26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 1 17:50:44 2008 NAKAMURA Usaku + + * enc/make_encdb.h: always add ';' at the end of line. + Tue Jul 1 17:44:30 2008 Nobuyoshi Nakada * iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond), diff --git a/enc/make_encdb.rb b/enc/make_encdb.rb index 6f71c3dfe6..8b5731f548 100755 --- a/enc/make_encdb.rb +++ b/enc/make_encdb.rb @@ -57,7 +57,7 @@ Dir.open(encdir) {|d| d.grep(/.+\.[ch]\z/)}.sort_by {|e| next end check_duplication(defs, $1, fn, $.) - lines << line.sub(/;.*/m, ";\n") if line + lines << line.sub(/;.*/m, "").chomp + ";\n" if line end end end