mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 11:20:50 +02:00
fix for @ and * as associative array keys in arithmetic expressions; minor readline callback mode changes
This commit is contained in:
@@ -1168,6 +1168,8 @@ expr_streval (tok, e, lvalue)
|
||||
/* [[[[[ */
|
||||
#if defined (ARRAY_VARS)
|
||||
aflag = tflag; /* use a different variable for now */
|
||||
if (shell_compatibility_level > 51)
|
||||
aflag |= AV_ATSTARKEYS;
|
||||
v = (e == ']') ? array_variable_part (tok, tflag, (char **)0, (int *)0) : find_variable (tok);
|
||||
#else
|
||||
v = find_variable (tok);
|
||||
|
||||
Reference in New Issue
Block a user