Browse Source

[4203] Removed the unreachable exit

Francis Dupont 9 years ago
parent
commit
e58c97a735
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/eval/lexer.ll

+ 1 - 1
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
     }
 }