aboutsummaryrefslogtreecommitdiffstats
path: root/general.c
diff options
context:
space:
mode:
Diffstat (limited to 'general.c')
-rw-r--r--general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/general.c b/general.c
index df4b113..0b9c8fb 100644
--- a/general.c
+++ b/general.c
@@ -267,7 +267,7 @@ assignment (string, flags)
c = string[indx = 0];
#if defined (ARRAY_VARS)
- if ((legal_variable_starter (c) == 0) && (flags && c != '[')) /* ] */
+ if ((legal_variable_starter (c) == 0) && (flags == 0 || c != '[')) /* ] */
#else
if (legal_variable_starter (c) == 0)
#endif