summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2015-06-18 15:06:42 -0700
committerScott Graham <scottmg@chromium.org>2015-06-18 15:06:42 -0700
commit38aba9dbe68b800038f1cefc827362c126c7b212 (patch)
treeed8aa2d9aa55865fd1dbf8a4be6ca197f30ada07
parent32774e9ba88a3d4e3decdad0fa01620cb16d6300 (diff)
downloadninja-38aba9dbe68b800038f1cefc827362c126c7b212.tar.gz
Error+exit -> Fatal
-rw-r--r--src/msvc_helper-win32.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/msvc_helper-win32.cc b/src/msvc_helper-win32.cc
index f875633..a52dd38 100644
--- a/src/msvc_helper-win32.cc
+++ b/src/msvc_helper-win32.cc
@@ -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);