ref: 66816792f7ab07880a1cc92d4ced4a115b100be3
parent: a3b2e73283428008eebe4af1e57f41580b877cff
author: Ori Bernstein <[email protected]>
date: Wed May 1 09:33:04 EDT 2013
Allocate space for seqlit elements. We forgot to allocate them.
--- a/parse/specialize.c
+++ b/parse/specialize.c
@@ -238,6 +238,7 @@
case Lbool: r->lit.boolval = n->lit.boolval; break;
case Lfunc: r->lit.fnval = specializenode(n->lit.fnval, tsmap); break;
case Lseq:
+ r->lit.seqval = xalloc(n->lit.nelt * sizeof(Node*));
for (i = 0; i < n->lit.nelt; i++)
r->lit.seqval[i] = specializenode(n->lit.seqval[i], tsmap);
break;