diff options
Diffstat (limited to 'src/graph.h')
-rw-r--r-- | src/graph.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graph.h b/src/graph.h index bf714e3..5b6bdf2 100644 --- a/src/graph.h +++ b/src/graph.h @@ -74,7 +74,7 @@ struct Node { /// An invokable build command and associated metadata (description, etc.). struct Rule { - Rule(const string& name) : name_(name) { } + Rule(const string& name) : name_(name), generator_(false) { } bool ParseCommand(const string& command, string* err) { return command_.Parse(command, err); @@ -83,6 +83,7 @@ struct Rule { EvalString command_; EvalString description_; EvalString depfile_; + bool generator_; }; struct State; |