Error+exit -> Fatal
authorScott Graham <scottmg@chromium.org>
Thu, 18 Jun 2015 22:06:42 +0000 (15:06 -0700)
committerScott Graham <scottmg@chromium.org>
Thu, 18 Jun 2015 22:06:42 +0000 (15:06 -0700)
src/msvc_helper-win32.cc

index f875633..a52dd38 100644 (file)
@@ -98,9 +98,8 @@ string CLParser::Parse(const string& output, const string& deps_prefix) {
       string normalized;
       string err;
       if (!IncludesNormalize::Normalize(include, NULL, &normalized, &err)) {
-        Error("failed to normalize path: %s: %s\n", include.c_str(),
+        Fatal("failed to normalize path: %s: %s\n", include.c_str(),
               err.c_str());
-        exit(1);
       }
       if (!IsSystemInclude(normalized))
         includes_.insert(normalized);