mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (HEAPCNT): bison allocates indivisible size.
fixed: [ruby-core:06261] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ff2b8b31c2
commit
ee499a8745
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Oct 13 23:25:10 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (HEAPCNT): bison allocates indivisible size.
|
||||
fixed: [ruby-core:06261]
|
||||
|
||||
Wed Oct 12 12:51:56 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* ext/openssl/ossl.c (Init_openssl): should call
|
||||
|
|
2
parse.y
2
parse.y
|
@ -8642,7 +8642,7 @@ rb_parser_end_seen_p(VALUE vparser)
|
|||
}
|
||||
|
||||
#ifdef YYMALLOC
|
||||
#define HEAPCNT(n, size) ((size) % sizeof(YYSTYPE) ? 0 : (n) * (size) / sizeof(YYSTYPE))
|
||||
#define HEAPCNT(n, size) ((n) * (size) / sizeof(YYSTYPE))
|
||||
#define NEWHEAP(cnt) rb_node_newnode(NODE_ALLOCA, 0, (VALUE)parserp->heap, cnt)
|
||||
#define ADD2HEAP(n, ptr) ((parserp->heap = (n))->u1.node = (ptr))
|
||||
|
||||
|
|
Loading…
Reference in a new issue