From 2cdd17b458eb2be8dce033217d6debb46b716090 Mon Sep 17 00:00:00 2001 From: shugo Date: Thu, 10 Jan 2013 06:39:55 +0000 Subject: * tool/gen_dummy_probes.rb: remove comments in probes.d to fix the compilation error introduced by r38755. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/gen_dummy_probes.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tool') diff --git a/tool/gen_dummy_probes.rb b/tool/gen_dummy_probes.rb index e3d9232e52..91191f1918 100755 --- a/tool/gen_dummy_probes.rb +++ b/tool/gen_dummy_probes.rb @@ -4,6 +4,9 @@ text = ARGF.read text.gsub!(/^(?!#)(.*)/){$1.upcase} +# remove comments +text.gsub!(%r'/\*.*?\*/'m, '') + # remove the pragma declarations text.gsub!(/^#pragma.*$/, '') -- cgit v1.2.3