summaryrefslogtreecommitdiff
path: root/src/build.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.cc')
-rw-r--r--src/build.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build.cc b/src/build.cc
index cdb8e0a..fcde626 100644
--- a/src/build.cc
+++ b/src/build.cc
@@ -849,7 +849,8 @@ bool Builder::ExtractDeps(CommandRunner::Result* result,
#ifdef _WIN32
if (deps_type == "msvc") {
CLParser parser;
- result->output = parser.Parse(result->output, deps_prefix);
+ if (!parser.Parse(result->output, deps_prefix, &result->output, err))
+ return false;
for (set<string>::iterator i = parser.includes_.begin();
i != parser.includes_.end(); ++i) {
// ~0 is assuming that with MSVC-parsed headers, it's ok to always make