more changes to avoid expanding associative array subscripts twice; internal debugging changes

This commit is contained in:
Chet Ramey
2021-12-22 16:05:39 -05:00
parent b2b78a6348
commit 701f36c2c3
27 changed files with 462 additions and 450 deletions
-2
View File
@@ -1556,8 +1556,6 @@ array_value_internal (s, quoted, flags, estatep)
}
else if (assoc_p (var))
{
if (flags & AV_USEIND)
itrace("array_value_internal: %s: assoc var with AV_USEIND: %s", dollar_vars[0], s);
t[len - 1] = '\0';
if (estatep)
estatep->type = ARRAY_ASSOC;