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

ruby-changes:35592

From: nari <ko1@a...>
Date: Sun, 21 Sep 2014 18:52:50 +0900 (JST)
Subject: [ruby-changes:35592] nari:r47674 (trunk): * parse.y (parser_class_nest): unused variable after YARV

nari	2014-09-21 18:52:37 +0900 (Sun, 21 Sep 2014)

  New Revision: 47674

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

  Log:
    * parse.y (parser_class_nest): unused variable after YARV
      merged (r11439).

  Modified files:
    trunk/ChangeLog
    trunk/parse.y
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47673)
+++ ChangeLog	(revision 47674)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Sep 21 18:45:01 2014  Narihiro Nakamura <authornari@g...>
+
+	* parse.y (parser_class_nest): unused variable after YARV
+	  merged (r11439).
+
 Sun Sep 21 18:14:03 2014  Narihiro Nakamura <authornari@g...>
 
 	* st.c (numberof): unused. internal.h has same macro.
Index: parse.y
===================================================================
--- parse.y	(revision 47673)
+++ parse.y	(revision 47674)
@@ -219,7 +219,6 @@ struct parser_params { https://github.com/ruby/ruby/blob/trunk/parse.y#L219
     stack_type parser_cond_stack;
     stack_type parser_cmdarg_stack;
     enum lex_state_e parser_lex_state;
-    int parser_class_nest;
     int parser_paren_nest;
     int parser_lpar_beg;
     int parser_in_single;
@@ -301,7 +300,6 @@ static int parser_yyerror(struct parser_ https://github.com/ruby/ruby/blob/trunk/parse.y#L300
 #define lex_state		(parser->parser_lex_state)
 #define cond_stack		(parser->parser_cond_stack)
 #define cmdarg_stack		(parser->parser_cmdarg_stack)
-#define class_nest		(parser->parser_class_nest)
 #define paren_nest		(parser->parser_paren_nest)
 #define lpar_beg		(parser->parser_lpar_beg)
 #define brace_nest		(parser->parser_brace_nest)
@@ -10144,7 +10142,6 @@ parser_initialize(struct parser_params * https://github.com/ruby/ruby/blob/trunk/parse.y#L10142
     parser->parser_lex_strterm = 0;
     parser->parser_cond_stack = 0;
     parser->parser_cmdarg_stack = 0;
-    parser->parser_class_nest = 0;
     parser->parser_paren_nest = 0;
     parser->parser_lpar_beg = 0;
     parser->parser_brace_nest = 0;

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

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