diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/Zle/computil.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 9d22b91a7..26af02252 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-05-03 Sven Wischnowsky <wischnow@zsh.org> + + * 14214: Src/Zle/computil.c: ignore errors when removing quotes + 2001-05-02 Bart Schaefer <schaefer@zsh.org> * 14206: configure.in: Fix bug introduced by 14177; also, only 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); |