diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-05-27 21:05:38 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-05-27 21:05:38 +0300 |
commit | 94b64f95755e183578d74fafa3e6403a1f23545a (patch) | |
tree | 4746a737bc92411b4701a99ca63119a22ce7bb50 /array.c | |
parent | 62b366e5e839aee729a9f97d3c4c38bca4aaddab (diff) | |
download | egawk-94b64f95755e183578d74fafa3e6403a1f23545a.tar.gz egawk-94b64f95755e183578d74fafa3e6403a1f23545a.tar.bz2 egawk-94b64f95755e183578d74fafa3e6403a1f23545a.zip |
Bug fix in array.c.
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 */ } |