mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (yycompile): zero clear ruby_eval_tree_begin if
compilation failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6d0b44501e
commit
3738f871aa
2 changed files with 6 additions and 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().
|
||||
|
|
1
parse.y
1
parse.y
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue