From ff13779efd4c427d870bc333fe01121fb0086e70 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 24 Sep 2007 22:11:59 +0800 Subject: [PARSER] Remove superfluous dblquote settings when ending arith When an arithmetic expansion terminates and we restore the syntax to the previous one, we don't need to set dblquote because we never changed upon entering the arithmetic expansion. --- src/parser.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/parser.c b/src/parser.c index 8fac57a..791251d 100644 --- a/src/parser.c +++ b/src/parser.c @@ -970,10 +970,6 @@ quotemark: if (--arinest == 0) { USTPUTC(CTLENDARI, out); syntax = prevsyntax; - if (syntax == DQSYNTAX) - dblquote = 1; - else - dblquote = 0; } else USTPUTC(')', out); } else { -- cgit 1.4.1