diff --git a/ChangeLog b/ChangeLog index faf7133e92..17b92782d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 12 16:04:31 2007 Koichi Sasada + + * compile.c (iseq_compile_each): check node->nd_state == 1, not !0. + Wed Apr 11 16:35:16 2007 NAKAMURA Usaku * win32/win32.[ch] (rb_w32_enter_critical, rb_w32_leave_critical): no diff --git a/compile.c b/compile.c index bba5e096c8..85160de2eb 100644 --- a/compile.c +++ b/compile.c @@ -2670,7 +2670,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) iseq->compile_data->loopval_popped = 0; iseq->compile_data->ensure_node_stack = 0; - if (type == NODE_OPT_N || node->nd_state) { + if (type == NODE_OPT_N || node->nd_state == 1) { ADD_INSNL(ret, nd_line(node), jump, next_label); } diff --git a/version.h b/version.h index 0abf460c93..255654782c 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-04-11" +#define RUBY_RELEASE_DATE "2007-04-12" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20070411 +#define RUBY_RELEASE_CODE 20070412 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 4 -#define RUBY_RELEASE_DAY 11 +#define RUBY_RELEASE_DAY 12 RUBY_EXTERN const char ruby_version[]; RUBY_EXTERN const char ruby_release_date[];