diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-29 08:00:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-29 08:00:37 +0000 |
commit | 7440815128e50103688fe369713f3e609d127a02 (patch) | |
tree | c275580ce0e7b72b7dfe9f76fbd40c8302e5124a /ChangeLog | |
parent | aa2a845168537c1e495823bfe643924f7f19c28b (diff) | |
download | ruby-7440815128e50103688fe369713f3e609d127a02.tar.gz |
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)".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Mon Jul 29 17:00:31 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@ruby-lang.org> * hash.c (rb_hash_initialize_copy): copy st_table type even if empty. |