ruby-changes:26071
From: nobu <ko1@a...>
Date: Sun, 2 Dec 2012 00:25:38 +0900 (JST)
Subject: [ruby-changes:26071] nobu:r38129 (trunk): * tool/gen_dummy_probes.rb: add mode name.
nobu 2012-12-02 00:25:31 +0900 (Sun, 02 Dec 2012) New Revision: 38129 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38129 Log: * tool/gen_dummy_probes.rb: add mode name. Modified files: trunk/tool/gen_dummy_probes.rb Index: tool/gen_dummy_probes.rb =================================================================== --- tool/gen_dummy_probes.rb (revision 38128) +++ tool/gen_dummy_probes.rb (revision 38129) @@ -22,5 +22,6 @@ text.gsub!(/\([^,)]+,[^,)]+,[^,)]+,[^,)]+,[^,)]+\)/, '(arg0, arg1, arg2, arg3, arg4)') text.gsub!(/ *PROBE ([^\(]*)(\([^\)]*\));/, "#define RUBY_DTRACE_\\1_ENABLED() 0\n#define RUBY_DTRACE_\\1\\2\ do \{ \} while\(0\)") +puts "/* -*- c -*- */" print text -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/