1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2008-07-01 08:51:33 +00:00
parent 5669377a57
commit 40612c5bb5
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jul 1 17:50:44 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* enc/make_encdb.h: always add ';' at the end of line.
Tue Jul 1 17:44:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond),

View file

@ -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