From 253f87cb416dbfd32f17dfbeb5d9302f2ac6eedc Mon Sep 17 00:00:00 2001 From: aamine Date: Fri, 6 Sep 2002 03:09:07 +0000 Subject: * parse.y (rb_gc_mark_parser): should mark lex_input and ruby_debug_lines. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 9 +++++++-- parse.y | 4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 042fc8c31..39ccfcc6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ +Fri Sep 6 12:11:22 2002 Minero Aoki + + * parse.y (rb_gc_mark_parser): should mark ALL global variables + defined in parse.y. + Fri Sep 6 11:47:37 2002 Minero Aoki - * parse.y (rb_gc_mark_parser): should mark parse.y global - variables. + * parse.y (rb_gc_mark_parser): should mark global variables + defined in parse.y. Fri Sep 6 10:34:32 2002 Minero Aoki diff --git a/parse.y b/parse.y index 153f66951..a09310588 100644 --- a/parse.y +++ b/parse.y @@ -5361,7 +5361,9 @@ rb_gc_mark_parser() rb_gc_mark_maybe((VALUE)yylval.node); rb_gc_mark((VALUE)ruby_eval_tree_begin); rb_gc_mark((VALUE)ruby_eval_tree); - rb_gc_mark((VALUE)lex_lastline); + rb_gc_mark(ruby_debug_lines); + rb_gc_mark(lex_lastline); + rb_gc_mark(lex_input); rb_gc_mark((VALUE)lex_strterm); } -- cgit