From 2a74207636bf0fd8a74b7ae58cf5631da3c28638 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 8 Jul 2011 06:37:48 +0900 Subject: remove trailing spaces. * Rakefile (EXT_PARSER_SRC): remove trailing spaces. --- Rakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rakefile b/Rakefile index 133119b..e48f6b1 100644 --- a/Rakefile +++ b/Rakefile @@ -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 -- cgit v1.2.3-24-ge0c7