ref: c9a52e525ad76c04172a99034a99c809e5639ac5
parent: 82c1dc9af055897ffeb373aee2a107ac0d472156
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Mar 1 20:01:02 EST 2016
Handle null and named array sizes for tyeq_rec
--- a/parse/node.c
+++ b/parse/node.c
@@ -30,7 +30,9 @@
{
Node *n;
- n = sz;
+ if (!sz)
+ return 0;
+ n = fold(sz, 1);
if (exprop(n) != Olit)
fatal(sz, "too much indirection when finding intializer. (initialization loop?)");