From efbc2990ecefc608279896cefadffbcb8234bfe9 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 30 Nov 2005 14:56:52 +0000 Subject: * parse.y (NEWHEAP, ADD2HEAP): committed the patch for 1.9. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse.y b/parse.y index df89471e4..364788d27 100644 --- a/parse.y +++ b/parse.y @@ -6235,8 +6235,8 @@ rb_lastline_set(val) #ifdef YYMALLOC #define HEAPCNT(n, size) ((n) * (size) / sizeof(YYSTYPE)) -#define NEWHEAP() rb_node_newnode(NODE_ALLOCA, 0, (VALUE)parserp->heap, 0) -#define ADD2HEAP(n, c, p) ((parserp->heap = (n))->u1.node = (p), \ +#define NEWHEAP() rb_node_newnode(NODE_ALLOCA, 0, (VALUE)parser_heap, 0) +#define ADD2HEAP(n, c, p) ((parser_heap = (n))->u1.node = (p), \ (n)->u3.cnt = (c), (p)) static void * -- cgit