summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-09 05:57:29 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-09 05:57:29 +0000
commitff1cd79d0869c48a61bb002b5a9e9c52b74dcd06 (patch)
treea77c5ad9e3686bf07e1e93ba6da0a1d5d6069bf7 /parse.y
parent9874fdbc866f8b504296cdfa75177f01b077f079 (diff)
downloadruby-ff1cd79d0869c48a61bb002b5a9e9c52b74dcd06.tar.gz
* parse.y (yycompile0): remove setting parser->enc because it is set
in parser_prepare() by previous change of parser_prepare(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 9823b56aca..cf522789dd 100644
--- a/parse.y
+++ b/parse.y
@@ -4675,7 +4675,6 @@ yycompile0(VALUE arg, int tracing)
}
}
- parser->enc = rb_enc_get(lex_input);
parser_prepare(parser);
n = yyparse((void*)parser);
ruby_debug_lines = 0;