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
commitb80c265fa46d9ce3e116c0746341ec1b5dfac1cb (patch)
tree2a7661064529118c8d3e2c6450021b5290ee8f14 /tool
parentac3b77c98ef09b2e93d2483dfb9995f86b9a5c82 (diff)
downloadruby-b80c265fa46d9ce3e116c0746341ec1b5dfac1cb.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
-}