new "enable-active-region" readline variable

This commit is contained in:
Chet Ramey
2021-04-30 16:56:05 -04:00
parent 046d0cc93b
commit b196583609
11 changed files with 183 additions and 17 deletions
+1 -1
View File
@@ -344,7 +344,7 @@ assign_array_element (name, value, flags)
(ASS_ALLOWALLSUB) we allow it. */
if (((isassoc == 0 || (flags & (ASS_NOEXPAND|ASS_ALLOWALLSUB)) == 0) &&
(ALL_ELEMENT_SUB (sub[0]) && sub[1] == ']')) ||
(sublen <= 1))
(sublen <= 1))
{
free (vname);
err_badarraysub (name);