aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2014-03-28 11:53:44 -0400
committerChet Ramey <chet.ramey@case.edu>2014-03-28 11:53:44 -0400
commitbc63a081829cb10b36a173907ed02e3c2374cd4b (patch)
treea77c712c5cdf4796043b773d6b37b0e69e35f347
parent84fc3e272f57d4f38f3811470b7b708b568742db (diff)
downloadandroid_external_bash-bc63a081829cb10b36a173907ed02e3c2374cd4b.tar.gz
android_external_bash-bc63a081829cb10b36a173907ed02e3c2374cd4b.tar.bz2
android_external_bash-bc63a081829cb10b36a173907ed02e3c2374cd4b.zip
Bash-4.3 patch 5
-rw-r--r--parse.y2
-rw-r--r--patchlevel.h2
-rw-r--r--y.tab.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/parse.y b/parse.y
index 82595de..83d5b9f 100644
--- a/parse.y
+++ b/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
diff --git a/patchlevel.h b/patchlevel.h
index 9a65c37..11097c3 100644
--- a/patchlevel.h
+++ b/patchlevel.h
@@ -25,6 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */
-#define PATCHLEVEL 4
+#define PATCHLEVEL 5
#endif /* _PATCHLEVEL_H_ */
diff --git a/y.tab.c b/y.tab.c
index f77131b..709a56a 100644
--- a/y.tab.c
+++ b/y.tab.c
@@ -5710,7 +5710,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