2009-08-28 17:45:57 +02:00
|
|
|
Index: parse.y
|
|
|
|
===================================================================
|
|
|
|
--- parse.y.orig
|
|
|
|
+++ parse.y
|
|
|
|
@@ -3106,7 +3106,7 @@ parse_matched_pair (qc, open, close, len
|
2009-03-03 18:12:53 +01:00
|
|
|
ttrans = ansiexpand (nestret, 0, nestlen - 1, &ttranslen);
|
|
|
|
xfree (nestret);
|
|
|
|
|
|
|
|
- if ((rflags & P_DQUOTE) == 0)
|
|
|
|
+ if (extended_quote || (rflags & P_DQUOTE) == 0)
|
|
|
|
{
|
|
|
|
nestret = sh_single_quote (ttrans);
|
|
|
|
free (ttrans);
|
2009-08-28 17:45:57 +02:00
|
|
|
@@ -3517,7 +3517,7 @@ eof_error:
|
2009-03-03 18:12:53 +01:00
|
|
|
ttrans = ansiexpand (nestret, 0, nestlen - 1, &ttranslen);
|
|
|
|
xfree (nestret);
|
|
|
|
|
|
|
|
- if ((rflags & P_DQUOTE) == 0)
|
|
|
|
+ if (extended_quote || (rflags & P_DQUOTE) == 0)
|
|
|
|
{
|
|
|
|
nestret = sh_single_quote (ttrans);
|
|
|
|
free (ttrans);
|