summaryrefslogtreecommitdiffstats
path: root/src/build.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/build.h b/src/build.h
index 2715c0c..33df7d0 100644
--- a/src/build.h
+++ b/src/build.h
@@ -163,7 +163,10 @@ struct Builder {
bool Build(string* err);
bool StartEdge(Edge* edge, string* err);
- void FinishCommand(CommandRunner::Result* result);
+
+ /// Update status ninja logs following a command termination.
+ /// @return false if the build can not proceed further due to a fatal error.
+ bool FinishCommand(CommandRunner::Result* result, string* err);
/// Used for tests.
void SetBuildLog(BuildLog* log) {