summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-06 03:09:07 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-06 03:09:07 +0000
commit253f87cb416dbfd32f17dfbeb5d9302f2ac6eedc (patch)
tree94500dc825ffa16aa61e54e3d96d3aac86a2af66 /parse.y
parent0baa4f2c725d54973c13a5e97b5c4d528414760c (diff)
downloadruby-253f87cb416dbfd32f17dfbeb5d9302f2ac6eedc.tar.gz
ruby-253f87cb416dbfd32f17dfbeb5d9302f2ac6eedc.tar.xz
ruby-253f87cb416dbfd32f17dfbeb5d9302f2ac6eedc.zip
* 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
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 3 insertions, 1 deletions
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);
}