summaryrefslogtreecommitdiffstats
path: root/src/manifest_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/manifest_parser.cc')
-rw-r--r--src/manifest_parser.cc15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/manifest_parser.cc b/src/manifest_parser.cc
index 103c365..aa52989 100644
--- a/src/manifest_parser.cc
+++ b/src/manifest_parser.cc
@@ -337,19 +337,8 @@ bool ManifestParser::ParseEdge(string* err) {
uint64_t slash_bits;
CanonicalizePath(&path, &slash_bits);
if (!state_->AddOut(edge, path, slash_bits)) {
- if (options_.dupe_edge_action_ == kDupeEdgeActionError) {
- lexer_.Error("multiple rules generate " + path, err);
- return false;
- } else {
- if (!quiet_) {
- Warning(
- "multiple rules generate %s. builds involving this target will "
- "not be correct; continuing anyway",
- path.c_str());
- }
- if (e - i <= static_cast<size_t>(implicit_outs))
- --implicit_outs;
- }
+ lexer_.Error("multiple rules generate " + path, err);
+ return false;
}
}