From e58c97a735c8ce048a01045c67899f458f02ce17 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Thu, 19 Nov 2015 00:05:08 +0100 Subject: [PATCH] [4203] Removed the unreachable exit --- src/lib/eval/lexer.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eval/lexer.ll b/src/lib/eval/lexer.ll index ce20911a6a..71d5eaab03 100644 --- a/src/lib/eval/lexer.ll +++ b/src/lib/eval/lexer.ll @@ -145,7 +145,7 @@ EvalContext::scanStringBegin() buffer = yy_scan_bytes(string_.c_str(), string_.size()); if (!buffer) { error("cannot scan string"); - exit(EXIT_FAILURE); + // error throws an exception so this can't be reached } }