commit bash-20130328 snapshot

This commit is contained in:
Chet Ramey
2013-04-26 15:19:32 -04:00
parent c2fa658335
commit 1e8fce0f8d
12 changed files with 5333 additions and 368 deletions
+6 -1
View File
@@ -3754,8 +3754,13 @@ fix_assignment_words (words)
b = 0;
assoc = global = array = 0;
/* Skip over assignment statements preceding a command name */
wcmd = words;
for (w = words; w; w = w->next)
for (wcmd = words; wcmd; wcmd = wcmd->next)
if ((wcmd->word->flags & W_ASSIGNMENT) == 0)
break;
for (w = wcmd; w; w = w->next)
if (w->word->flags & W_ASSIGNMENT)
{
if (b == 0)