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

ruby-changes:3471

From: ko1@a...
Date: 9 Jan 2008 14:57:46 +0900
Subject: [ruby-changes:3471] usa - Ruby:r14964 (trunk): * parse.y (yycompile0): remove setting parser->enc because it is set

usa	2008-01-09 14:57:29 +0900 (Wed, 09 Jan 2008)

  New Revision: 14964

  Modified files:
    trunk/ChangeLog
    trunk/parse.y

  Log:
    * parse.y (yycompile0): remove setting parser->enc because it is set
      in parser_prepare() by previous change of parser_prepare().
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/parse.y?r1=14964&r2=14963&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14964&r2=14963&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14963)
+++ ChangeLog	(revision 14964)
@@ -1,3 +1,8 @@
+Wed Jan  9 14:55:36 2008  NAKAMURA Usaku  <usa@r...>
+
+	* parse.y (yycompile0): remove setting parser->enc because it is set
+	  in parser_prepare() by previous change of parser_prepare().
+
 Wed Jan  9 14:52:18 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* string.c (rb_enc_cr_str_buf_cat, rb_str_buf_append): deal with self
Index: parse.y
===================================================================
--- parse.y	(revision 14963)
+++ parse.y	(revision 14964)
@@ -4675,7 +4675,6 @@
 	}
     }
 
-    parser->enc = rb_enc_get(lex_input);
     parser_prepare(parser);
     n = yyparse((void*)parser);
     ruby_debug_lines = 0;

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

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