From 94b64f95755e183578d74fafa3e6403a1f23545a Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 27 May 2013 21:05:38 +0300 Subject: Bug fix in array.c. --- array.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'array.c') diff --git a/array.c b/array.c index 5dac7a40..92a1cb8e 100644 --- a/array.c +++ b/array.c @@ -113,7 +113,16 @@ null_array(NODE *symbol) symbol->table_size = symbol->array_size = 0; symbol->array_capacity = 0; symbol->flags = 0; - assert(symbol->xarray == NULL); + /* + * 5/2013: This used to be + * + * assert(symbol->xarray == NULL); + * + * But that seems to cause problems for no good reason + * that I can see. I believe it to be an artifact of the + * union getting in the way. + */ + symbol->xarray = NULL; /* vname, parent_array not (re)initialized */ } -- cgit v1.2.3