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

ruby-changes:30179

From: nobu <ko1@a...>
Date: Mon, 29 Jul 2013 17:00:52 +0900 (JST)
Subject: [ruby-changes:30179] nobu:r42231 (trunk): parse.y, vm_eval.c: file encoding in eval

nobu	2013-07-29 17:00:37 +0900 (Mon, 29 Jul 2013)

  New Revision: 42231

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

  Log:
    parse.y, vm_eval.c: file encoding in eval
    
    * parse.y (yycompile): store file name as String to keep the encoding.
    * parse.y (rb_parser_compile_string_path, rb_parser_compile_file_path):
      new functions to pass file name as a String.
    * parse.y (gettable_gen): return a copy of the original file name, not
      a copy in filesystem encoding.
    * vm_eval.c (eval_string_with_cref): use Qundef instead of "(eval)".

  Modified files:
    trunk/ChangeLog

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42230)
+++ ChangeLog	(revision 42231)
@@ -1,3 +1,15 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jul 29 17:00:31 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* parse.y (yycompile): store file name as String to keep the encoding.
+
+	* parse.y (rb_parser_compile_string_path, rb_parser_compile_file_path):
+	  new functions to pass file name as a String.
+
+	* parse.y (gettable_gen): return a copy of the original file name, not
+	  a copy in filesystem encoding.
+
+	* vm_eval.c (eval_string_with_cref): use Qundef instead of "(eval)".
+
 Mon Jul 29 16:53:18 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* hash.c (rb_hash_initialize_copy): copy st_table type even if empty.

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

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