summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-30 14:56:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-30 14:56:52 +0000
commitefbc2990ecefc608279896cefadffbcb8234bfe9 (patch)
tree1925e234d91241605685c421f8c6568c04428f3f /parse.y
parent4c8b449a1a4898210873b953428c64f2d1bd6024 (diff)
downloadruby-efbc2990ecefc608279896cefadffbcb8234bfe9.tar.gz
ruby-efbc2990ecefc608279896cefadffbcb8234bfe9.tar.xz
ruby-efbc2990ecefc608279896cefadffbcb8234bfe9.zip
* 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
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files 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 *