summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-21 09:52:37 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-21 09:52:37 +0000
commit5390e3211900652e7ffd59b806a2cad5ad0947e0 (patch)
tree19b90c3d3e74a2b325b62aa2a3c2c9cd55f8d1a1
parenta5c91a3811fa80214a6cce5b8b5ba2e5e1642423 (diff)
* parse.y (parser_class_nest): unused variable after YARV
merged (r11439). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--parse.y3
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 39a5ec7..90f7516 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Sep 21 18:45:01 2014 Narihiro Nakamura <authornari@gmail.com>
+
+ * parse.y (parser_class_nest): unused variable after YARV
+ merged (r11439).
+
Sun Sep 21 18:14:03 2014 Narihiro Nakamura <authornari@gmail.com>
* st.c (numberof): unused. internal.h has same macro.
diff --git a/parse.y b/parse.y
index 2f2e48d..45e09e0 100644
--- a/parse.y
+++ b/parse.y
@@ -219,7 +219,6 @@ struct parser_params {
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_params*, const char*);
#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 *parser)
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;