Blame SOURCES/0003-zsh-5.5.1-parse-error-exit-status.patch

021e4f
From 878ebe3c74cee4b9702c9672b87ee56f057e1f02 Mon Sep 17 00:00:00 2001
021e4f
From: Peter Stephenson <p.stephenson@samsung.com>
021e4f
Date: Thu, 29 Nov 2018 17:54:02 +0000
021e4f
Subject: [PATCH] 43854: Set tok to LEXERR on generic parse error.
021e4f
021e4f
Needed by main loop which detects an error this way.
021e4f
021e4f
Upstream-commit: ef20425381e83ebd5a10c2ab270a347018371162
021e4f
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
021e4f
---
021e4f
 Src/lex.c | 1 +
021e4f
 1 file changed, 1 insertion(+)
021e4f
021e4f
diff --git a/Src/lex.c b/Src/lex.c
021e4f
index 44ad880..c29aaba 100644
021e4f
--- a/Src/lex.c
021e4f
+++ b/Src/lex.c
021e4f
@@ -1613,6 +1613,7 @@ parsestr(char **s)
021e4f
 		zerr("parse error near `%c'", err);
021e4f
 	    else
021e4f
 		zerr("parse error");
021e4f
+	    tok = LEXERR;
021e4f
 	}
021e4f
     }
021e4f
     return err;
021e4f
-- 
021e4f
2.17.2
021e4f