summaryrefslogtreecommitdiffstats
path: root/src/manifest_parser.cc
diff options
context:
space:
mode:
authorScott Graham <scottmg@chromium.org>2016-01-27 03:44:27 (GMT)
committerScott Graham <scottmg@chromium.org>2016-01-27 03:44:27 (GMT)
commit902f78227f1dba59c18ecb600dac849fdffde567 (patch)
tree9706019bc77a457fded42774994fd848969c7726 /src/manifest_parser.cc
parent162219af664f0736f4245befd6fb721d5c71a75f (diff)
downloadNinja-902f78227f1dba59c18ecb600dac849fdffde567.zip
Ninja-902f78227f1dba59c18ecb600dac849fdffde567.tar.gz
Ninja-902f78227f1dba59c18ecb600dac849fdffde567.tar.bz2
Make dupbuild=err work in subninja
Diffstat (limited to 'src/manifest_parser.cc')
-rw-r--r--src/manifest_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manifest_parser.cc b/src/manifest_parser.cc
index e8c0436..3d11a2c 100644
--- a/src/manifest_parser.cc
+++ b/src/manifest_parser.cc
@@ -380,7 +380,7 @@ bool ManifestParser::ParseFileInclude(bool new_scope, string* err) {
return false;
string path = eval.Evaluate(env_);
- ManifestParser subparser(state_, file_reader_);
+ ManifestParser subparser(state_, file_reader_, dupe_edge_should_err_);
if (new_scope) {
subparser.env_ = new BindingEnv(env_);
} else {