2010-02-18 12:17:29 +01:00
|
|
|
--- parse.y
|
|
|
|
+++ parse.y 2006-03-27 12:15:25.000000000 +0000
|
2009-08-28 17:45:57 +02:00
|
|
|
@@ -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);
|