Bash-4.3 patch 5
This commit is contained in:
parent
84fc3e272f
commit
bc63a08182
3 changed files with 3 additions and 3 deletions
2
parse.y
2
parse.y
|
@ -3398,7 +3398,7 @@ parse_matched_pair (qc, open, close, lenp, flags)
|
|||
within a double-quoted ${...} construct "an even number of
|
||||
unescaped double-quotes or single-quotes, if any, shall occur." */
|
||||
/* This was changed in Austin Group Interp 221 */
|
||||
if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
|
||||
if MBTEST(posixly_correct && shell_compatibility_level > 41 && dolbrace_state != DOLBRACE_QUOTE && dolbrace_state != DOLBRACE_QUOTE2 && (flags & P_DQUOTE) && (flags & P_DOLBRACE) && ch == '\'')
|
||||
continue;
|
||||
|
||||
/* Could also check open == '`' if we want to parse grouping constructs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue