diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2011-07-08 06:37:48 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2011-07-08 06:54:22 +0900 |
commit | 8abe6f4141127f019f6346f81baa778cbab15224 (patch) | |
tree | 3939df1ed5f5790ce7de0b1de56d5141fb0c7f8f | |
parent | 1a4046b2473faea201814b19fafd53154b32274e (diff) | |
download | json-8abe6f4141127f019f6346f81baa778cbab15224.tar.gz |
remove trailing spaces.
* Rakefile (EXT_PARSER_SRC): remove trailing spaces.
-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 |