diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2018-11-29 17:54:02 +0000 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-11-29 17:54:02 +0000 |
commit | ef20425381e83ebd5a10c2ab270a347018371162 (patch) | |
tree | b9c26265cda1003d5de0ff6fca91f5ce18ac1197 /Src | |
parent | 50f8fa972c3795a115e7faff0b4c140b40eab5f0 (diff) | |
download | zsh-ef20425381e83ebd5a10c2ab270a347018371162.tar.gz zsh-ef20425381e83ebd5a10c2ab270a347018371162.tar.xz zsh-ef20425381e83ebd5a10c2ab270a347018371162.zip |
43854: Set tok to LEXERR on generic parse error.
Needed by main loop which detects an error this way.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/lex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/lex.c b/Src/lex.c index fa29da3a2..f43bcc7db 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1613,6 +1613,7 @@ parsestr(char **s) zerr("parse error near `%c'", err); else zerr("parse error"); + tok = LEXERR; } } return err; |