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