diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-27 02:55:25 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-27 02:55:25 +0000 |
commit | 2004560bac27871caf0eeab404c88454e2b65c88 (patch) | |
tree | b96cabd6dca3cd441ff8296f8b99e892c2540fb4 | |
parent | ddda108ecce743ed9e1128d21518d015304dc67c (diff) | |
download | ruby-2004560bac27871caf0eeab404c88454e2b65c88.tar.gz ruby-2004560bac27871caf0eeab404c88454e2b65c88.tar.xz ruby-2004560bac27871caf0eeab404c88454e2b65c88.zip |
merges r25095 from trunk into ruby_1_9_1.
--
* iseq.c (compile_string): rename to parse_string(), because
this function only parse String to NODE.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | iseq.c | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Sat Sep 26 08:35:12 2009 Koichi Sasada <ko1@atdot.net> + + * iseq.c (compile_string): rename to parse_string(), because + this function only parse String to NODE. + Thu Sep 24 09:41:42 2009 Marc-Andre Lafortune <ruby-core@marc-andre.ca> * lib/mathn.rb (Bignum#**): Fixed bignum**fixnum that was broken when @@ -457,7 +457,7 @@ ruby_iseq_load(VALUE data, VALUE parent, VALUE opt) } static NODE * -compile_string(VALUE str, VALUE file, VALUE line) +parse_string(VALUE str, VALUE file, VALUE line) { VALUE parser = rb_parser_new(); NODE *node = rb_parser_compile_string(parser, StringValueCStr(file), @@ -473,7 +473,7 @@ VALUE rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE line, VALUE opt) { rb_compile_option_t option; - NODE *node = compile_string(StringValue(src), file, line); + NODE *node = parse_string(StringValue(src), file, line); rb_thread_t *th = GET_THREAD(); make_compile_option(&option, opt); @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 351 +#define RUBY_PATCHLEVEL 352 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |