summaryrefslogtreecommitdiffstats
path: root/ninja.h
diff options
context:
space:
mode:
Diffstat (limited to 'ninja.h')
-rw-r--r--ninja.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ninja.h b/ninja.h
index 94e9d19..2b8c37c 100644
--- a/ninja.h
+++ b/ninja.h
@@ -81,8 +81,8 @@ struct Node {
struct Rule {
Rule(const string& name) : name_(name) { }
- void ParseCommand(const string& command) {
- assert(command_.Parse(command)); // XXX
+ bool ParseCommand(const string& command, string* err) {
+ return command_.Parse(command, err);
}
string name_;
EvalString command_;