about summary refs log tree commit diff
path: root/Src/Zle/computil.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-03 07:13:37 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-03 07:13:37 +0000
commit1e79a3424fa4e84da07d3df53e614a1a297d833f (patch)
treefd21384e3dd39a34e4f7402e09ae6f73dc1f90f8 /Src/Zle/computil.c
parentdb7f83187124e5d90048241b6390a3354b4058db (diff)
downloadzsh-1e79a3424fa4e84da07d3df53e614a1a297d833f.tar.gz
zsh-1e79a3424fa4e84da07d3df53e614a1a297d833f.tar.xz
zsh-1e79a3424fa4e84da07d3df53e614a1a297d833f.zip
14214
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r--Src/Zle/computil.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 421916421..90544b9c2 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -1253,7 +1253,7 @@ ca_parse_line(Cadef d, int multi, int first)
     Caopt ptr, wasopt = NULL, dopt;
     struct castate state;
     char *line, *pe, **argxor = NULL;
-    int cur, doff, argend, arglast;
+    int cur, doff, argend, arglast, ne;
     Patprog endpat = NULL, napat = NULL;
     LinkList sopts = NULL;
 
@@ -1319,7 +1319,10 @@ ca_parse_line(Cadef d, int multi, int first)
 
         /* remove quotes */
         line = dupstring(line);
+        ne = noerrs;
+        noerrs = 2;
         parse_subst_string(line);
+        noerrs = ne;
         remnulargs(line);
         untokenize(line);