diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2011-07-08 06:37:48 +0900 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-07-08 01:23:57 +0200 |
commit | 2a74207636bf0fd8a74b7ae58cf5631da3c28638 (patch) | |
tree | 3939df1ed5f5790ce7de0b1de56d5141fb0c7f8f /Rakefile | |
parent | 1a4046b2473faea201814b19fafd53154b32274e (diff) | |
download | json-2a74207636bf0fd8a74b7ae58cf5631da3c28638.tar.gz |
remove trailing spaces.
* Rakefile (EXT_PARSER_SRC): remove trailing spaces.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -363,6 +363,8 @@ else else sh "ragel -x parser.rl | #{RAGEL_CODEGEN} -G2" end + src = File.read("parser.c").gsub(/[ \t]+$/, '') + File.open("parser.c", "w") {|f| f.print src} end end |