about summary refs log tree commit diff
path: root/Src/lex.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-02-23 18:33:57 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-02-23 18:33:57 +0000
commitfd2e321313b400ce3e1f223c93d531696d98be62 (patch)
tree1e50a002741c32f07ee0608aad252c12044d5795 /Src/lex.c
parent485a008075ce19bfdf19922c803d1637ebb5255e (diff)
downloadzsh-fd2e321313b400ce3e1f223c93d531696d98be62.tar.gz
zsh-fd2e321313b400ce3e1f223c93d531696d98be62.tar.xz
zsh-fd2e321313b400ce3e1f223c93d531696d98be62.zip
24588: tweak glob qualifier completion
24590: turn down error reporting when unquoting
Diffstat (limited to 'Src/lex.c')
-rw-r--r--Src/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/lex.c b/Src/lex.c
index a3b03c8a4..4128f109a 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -1619,7 +1619,7 @@ parse_subst_string(char *s)
      * Historical note: we used to check here for olen == l, but
      * that's not necessarily the case if we stripped an RCQUOTE.
      */
-    if (c != STRING || errflag) {
+    if (c != STRING || (errflag && !noerrs)) {
 	fprintf(stderr, "Oops. Bug in parse_subst_string: %s\n",
 		errflag ? "errflag" : "c != STRING");
 	fflush(stderr);