diff options
| author | Chet Ramey <chet.ramey@case.edu> | 2018-11-23 15:32:57 -0500 |
|---|---|---|
| committer | Chet Ramey <chet.ramey@case.edu> | 2018-11-23 15:32:57 -0500 |
| commit | 2ae59c1134a75d5778997b7202b15b0586283042 (patch) | |
| tree | 6a0fa496d41b222f5f69e3640d84932fb7a84778 /parse.y | |
| parent | 2f5dfe5a18b4670eb4cea32c1c76295eb70a8865 (diff) | |
| download | bash-5.0-beta2.tar.gz | |
bash-5.0-beta2 releasebash-5.0-beta2
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2544,6 +2544,7 @@ next_alias_char: reading a quoted string. */ #ifndef OLD_ALIAS_HACK if (uc == 0 && pushed_string_list && pushed_string_list->flags != PSH_SOURCE && + pushed_string_list->flags != PSH_DPAREN && shell_input_line_index > 0 && shell_input_line[shell_input_line_index-1] != ' ' && shell_input_line[shell_input_line_index-1] != '\n' && @@ -2555,6 +2556,7 @@ next_alias_char: #endif pop_alias: + /* This case works for PSH_DPAREN as well */ if (uc == 0 && pushed_string_list && pushed_string_list->flags != PSH_SOURCE) { pop_string (); @@ -3031,7 +3033,7 @@ special_case_tokens (tokstr) return (IN); } - /* bash-5.0: leaving above code intact for now, but it should eventually be + /* XXX - leaving above code intact for now, but it should eventually be removed in favor of this clause. */ /* Posix grammar rule 6 */ if (expecting_in_token && (last_read_token == WORD || last_read_token == '\n') && |
