commit bash-20120824 snapshot

This commit is contained in:
Chet Ramey
2012-09-13 11:53:51 -04:00
parent 200aed9a45
commit df0e4bfe75
11 changed files with 125 additions and 52 deletions
+5 -1
View File
@@ -4723,7 +4723,11 @@ got_token:
the_word->flags |= W_ASSIGNMENT;
/* Don't perform word splitting on assignment statements. */
if (assignment_acceptable (last_read_token) || (parser_state & PST_COMPASSIGN) != 0)
the_word->flags |= W_NOSPLIT;
{
the_word->flags |= W_NOSPLIT;
if (parser_state & PST_COMPASSIGN)
the_word->flags |= W_NOGLOB; /* XXX - W_NOBRACE? */
}
}
if (command_token_position (last_read_token))