mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-15 16:10:50 +02:00
commit bash-20180914 snapshot
This commit is contained in:
@@ -325,6 +325,9 @@ expr_bind_variable (lhs, rhs)
|
||||
SHELL_VAR *v;
|
||||
int aflags;
|
||||
|
||||
if (lhs == 0 || *lhs == 0)
|
||||
return; /* XXX */
|
||||
|
||||
#if defined (ARRAY_VARS)
|
||||
aflags = (assoc_expand_once && already_expanded) ? ASS_NOEXPAND : 0;
|
||||
#else
|
||||
@@ -1012,7 +1015,8 @@ exp0 ()
|
||||
expr_bind_array_element (curlval.tokstr, curlval.ind, vincdec);
|
||||
else
|
||||
#endif
|
||||
expr_bind_variable (tokstr, vincdec);
|
||||
if (tokstr)
|
||||
expr_bind_variable (tokstr, vincdec);
|
||||
}
|
||||
free (vincdec);
|
||||
val = v2;
|
||||
|
||||
Reference in New Issue
Block a user