* parse.y (struct parser_params): heap must be placed at same offset

also in ripper.y.  fixed: [ruby-dev:27846]

* parse.y (yycompile): prevent vparser from tail call optimization.
  fixed: [ruby-dev:27851]

* parse.y (parser_mark): value needs to be marked.
  fixed: [ruby-dev:27845]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2005-11-29 14:57:18 +00:00
parent 684b527b58
commit 96aa0c2a8f
3 changed files with 29 additions and 16 deletions

6
node.h
View file

@ -353,9 +353,9 @@ typedef struct RNode {
VALUE rb_parser_new(void);
VALUE rb_parser_end_seen_p(VALUE);
NODE *rb_parser_compile_cstr(volatile VALUE, const char*, const char*, int, int);
NODE *rb_parser_compile_string(volatile VALUE, const char*, VALUE, int);
NODE *rb_parser_compile_file(volatile VALUE, const char*, VALUE, int);
NODE *rb_parser_compile_cstr(VALUE, const char*, const char*, int, int);
NODE *rb_parser_compile_string(VALUE, const char*, VALUE, int);
NODE *rb_parser_compile_file(VALUE, const char*, VALUE, int);
NODE *rb_compile_cstr(const char*, const char*, int, int);
NODE *rb_compile_string(const char*, VALUE, int);