[前][次][番号順一覧][スレッド一覧]

ruby-changes:50211

From: nobu <ko1@a...>
Date: Fri, 9 Feb 2018 12:15:25 +0900 (JST)
Subject: [ruby-changes:50211] nobu:r62329 (trunk): debug_counter.h: include __FILE__ to recurse

nobu	2018-02-09 12:15:21 +0900 (Fri, 09 Feb 2018)

  New Revision: 62329

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62329

  Log:
    debug_counter.h: include __FILE__ to recurse

  Modified files:
    trunk/debug_counter.h
Index: debug_counter.h
===================================================================
--- debug_counter.h	(revision 62328)
+++ debug_counter.h	(revision 62329)
@@ -77,7 +77,7 @@ RB_DEBUG_COUNTER(load_path_is_not_realpa https://github.com/ruby/ruby/blob/trunk/debug_counter.h#L77
 
 enum rb_debug_counter_type {
 #define RB_DEBUG_COUNTER(name) RB_DEBUG_COUNTER_##name,
-#include "debug_counter.h"
+#include __FILE__
     RB_DEBUG_COUNTER_MAX
 #undef RB_DEBUG_COUNTER
 };

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]