summaryrefslogtreecommitdiffstats
path: root/src/parsers.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-08-31 03:55:35 (GMT)
committerPeter Collingbourne <peter@pcc.me.uk>2011-08-31 16:51:05 (GMT)
commit7a6c9d480d4ca7020f74e5f4dfbaf28c9ff2a6a4 (patch)
tree20aff5ee6b1061c0f53c51805419225a1367b2bd /src/parsers.h
parent679305757e68861885f1e5c819625d2f0bca6c0b (diff)
downloadNinja-7a6c9d480d4ca7020f74e5f4dfbaf28c9ff2a6a4.zip
Ninja-7a6c9d480d4ca7020f74e5f4dfbaf28c9ff2a6a4.tar.gz
Ninja-7a6c9d480d4ca7020f74e5f4dfbaf28c9ff2a6a4.tar.bz2
Implement default target statements
This introduces a new directive, the default target statement, which may be used to control the list of targets built by default (i.e. if no target is named on the command line).
Diffstat (limited to 'src/parsers.h')
-rw-r--r--src/parsers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parsers.h b/src/parsers.h
index 6bee0ae..bdc88d2 100644
--- a/src/parsers.h
+++ b/src/parsers.h
@@ -126,6 +126,7 @@ struct ManifestParser {
/// current env.
bool ParseLet(string* key, string* val, string* err);
bool ParseEdge(string* err);
+ bool ParseDefaults(string* err);
/// Parse either a 'subninja' or 'include' line.
bool ParseFileInclude(string* err);