diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-03 07:34:24 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-03 07:34:24 +0000 |
commit | f2d094559b61cb80163c5e6619a2cb0350955687 (patch) | |
tree | 13affbff6bfbb60b07e3dd7f7ad16c012bd8d42b | |
parent | 7fc36a323bf3a4c29852a618b100ecde42c26bfc (diff) | |
download | ruby-f2d094559b61cb80163c5e6619a2cb0350955687.tar.gz ruby-f2d094559b61cb80163c5e6619a2cb0350955687.tar.xz ruby-f2d094559b61cb80163c5e6619a2cb0350955687.zip |
* parse.y (yycompile): zero clear ruby_eval_tree_begin if
compilation failed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | parse.y | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -71,6 +71,11 @@ Tue Feb 25 23:03:08 2003 NAKAMURA Hiroshi <nahi@ruby-lang.org> * lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename must be the basename of it. [ruby-talk:65644] +Mon Feb 24 17:49:35 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> + + * parse.y (yycompile): zero clear ruby_eval_tree_begin if + compilation failed. + Mon Feb 24 08:06:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org> * string.c (str_new): need no MEMZERO(). @@ -2548,6 +2548,7 @@ yycompile(f, line) rb_gc_force_recycle((VALUE)tmp); } if (n == 0) node = ruby_eval_tree; + else ruby_eval_tree_begin = 0; return node; } |