mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (special_local_set): prevent the parser object from GC.
fixed: [ruby-dev:25252] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ce1fce4a4c
commit
9a6c901fc4
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Dec 20 10:51:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (special_local_set): prevent the parser object from GC.
|
||||
fixed: [ruby-dev:25252]
|
||||
|
||||
Mon Dec 20 03:30:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/cgi/session.rb (CGI::Session#initialize): empty session id was
|
||||
|
|
3
parse.y
3
parse.y
|
@ -4468,7 +4468,7 @@ rb_compile_file(f, file, start)
|
|||
int start;
|
||||
{
|
||||
struct parser_params *parser = parser_new();
|
||||
volatile VALUE p = parser->value;
|
||||
volatile VALUE p = parser->value;
|
||||
|
||||
lex_gets = lex_io_gets;
|
||||
lex_input = file;
|
||||
|
@ -8098,6 +8098,7 @@ special_local_set(c, val)
|
|||
{
|
||||
int cnt;
|
||||
struct parser_params *parser = parser_new();
|
||||
volatile VALUE p = parser->value;
|
||||
|
||||
top_local_init();
|
||||
cnt = local_cnt(c);
|
||||
|
|
Loading…
Add table
Reference in a new issue