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

ruby-changes:56595

From: Nobuyoshi <ko1@a...>
Date: Fri, 19 Jul 2019 07:50:58 +0900 (JST)
Subject: [ruby-changes:56595] Nobuyoshi Nakada: 59d6ce4f4b (master): Moved RIPPER_DEBUG methods to Ripper from Kernel

https://git.ruby-lang.org/ruby.git/commit/?id=59d6ce4f4b

From 59d6ce4f4bf2d77dfd07975fed6a49609c2df97e Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 19 Jul 2019 07:48:55 +0900
Subject: Moved RIPPER_DEBUG methods to Ripper from Kernel


diff --git a/parse.y b/parse.y
index d778a16..315c09f 100644
--- a/parse.y
+++ b/parse.y
@@ -12919,9 +12919,9 @@ InitVM_ripper(void) https://github.com/ruby/ruby/blob/trunk/parse.y#L12919
     rb_define_method(Ripper, "debug_output=", rb_parser_set_debug_output, 1);
     rb_define_method(Ripper, "error?", ripper_error_p, 0);
 #ifdef RIPPER_DEBUG
-    rb_define_method(rb_mKernel, "assert_Qundef", ripper_assert_Qundef, 2);
-    rb_define_method(rb_mKernel, "rawVALUE", ripper_value, 1);
-    rb_define_method(rb_mKernel, "validate_object", ripper_validate_object, 1);
+    rb_define_method(Ripper, "assert_Qundef", ripper_assert_Qundef, 2);
+    rb_define_method(Ripper, "rawVALUE", ripper_value, 1);
+    rb_define_method(Ripper, "validate_object", ripper_validate_object, 1);
 #endif
 
     rb_define_singleton_method(Ripper, "dedent_string", parser_dedent_string, 2);
-- 
cgit v0.10.2


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

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