diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | tool/gen_dummy_probes.rb | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Thu Jan 10 15:35:55 2013 Shugo Maeda <shugo@ruby-lang.org> + + * tool/gen_dummy_probes.rb: remove comments in probes.d to fix the + compilation error introduced by r38755. + Thu Jan 10 11:15:04 2013 Kenta Murata <mrkn@cookpad.com> * numeric.c (do_coerce): speed optimization by using rb_check_funcall 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.*$/, '') |