aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-10 07:18:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-10 07:18:03 +0000
commita94226f3af036c99a889ac16ea51d1d9335ff77c (patch)
tree2a7661064529118c8d3e2c6450021b5290ee8f14 /tool
parentc87afba26d1f156326ed12451c15b9550cf75b40 (diff)
downloadruby-a94226f3af036c99a889ac16ea51d1d9335ff77c.tar.gz
debug_counter.c: debug_counter_names [ci skip]
* debug_counter.c (debug_counter_names): stringize debug counter names by preprocessor. * debug_counter.h (RB_DEBUG_COUNTER): define counter names outside the include guard, to expand multiple times. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/debug_counter.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/tool/debug_counter.rb b/tool/debug_counter.rb
deleted file mode 100644
index 79c7b08269..0000000000
--- a/tool/debug_counter.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-
-ARGF.each_line{|line|
- if /^\s+COUNTER\((.+)\),$/ =~ line
- puts "\"#{$1}\","
- end
-}