diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 08:51:33 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 08:51:33 +0000 |
commit | 40612c5bb554241537067e46984aada23e6f7365 (patch) | |
tree | 2b0a04f68654f8b0e4031fb6c7573ccb2473ebdf /enc/make_encdb.rb | |
parent | 5669377a571b992a25c4ee98c7685e8c7d4c6ec0 (diff) |
* 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
Diffstat (limited to 'enc/make_encdb.rb')
-rwxr-xr-x | enc/make_encdb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |