diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/parser.c | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 816f56d..0a35741 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * Do not quote back slashes in parameter expansions outside quotes. * Perform tilde expansion in all parameter expansion words. + * Remove superfluous arinest test in CENDQUOTE. 2007-09-22 Oleg Verych <olecom@flower.upol.cz> diff --git a/src/parser.c b/src/parser.c index 279d49e..26c9046 100644 --- a/src/parser.c +++ b/src/parser.c @@ -932,10 +932,9 @@ quotemark: dblquote = 1; goto quotemark; case CENDQUOTE: - if (eofmark != NULL && arinest == 0 && - varnest == 0) { + if (eofmark && !varnest) USTPUTC(c, out); - } else { + else { if (dqvarnest == 0) { syntax = BASESYNTAX; dblquote = 0; |