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

ruby-changes:34704

From: nobu <ko1@a...>
Date: Fri, 11 Jul 2014 22:53:04 +0900 (JST)
Subject: [ruby-changes:34704] nobu:r46787 (trunk): parse.y: rename Init_parser

nobu	2014-07-11 22:52:47 +0900 (Fri, 11 Jul 2014)

  New Revision: 46787

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

  Log:
    parse.y: rename Init_parser
    
    * parse.y (rb_init_parse): rename to get rid of name clash with
      json/parser at statically linking.

  Modified files:
    trunk/parse.y
Index: parse.y
===================================================================
--- parse.y	(revision 46786)
+++ parse.y	(revision 46787)
@@ -10036,8 +10036,9 @@ rb_parser_while_loop(VALUE vparser, NODE https://github.com/ruby/ruby/blob/trunk/parse.y#L10036
 }
 
 void
-Init_parser(void)
+rb_init_parse(void)
 {
+    /* just to suppress unused-function warnings */
     (void)nodetype;
     (void)nodeline;
 #if PARSER_DEBUG

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

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