summaryrefslogtreecommitdiffstats
path: root/src/manifest_parser.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-12-29 20:02:16 (GMT)
committerEvan Martin <martine@danga.com>2012-12-29 20:33:15 (GMT)
commit3249938cdf574058a066436aea06b0541ded6958 (patch)
tree1dd2f33756337463972fdd21f20ef613ebbb2914 /src/manifest_parser.cc
parent7d41c2f521e27a3c2891e6f1c8da42f0f6f3c266 (diff)
downloadNinja-3249938cdf574058a066436aea06b0541ded6958.zip
Ninja-3249938cdf574058a066436aea06b0541ded6958.tar.gz
Ninja-3249938cdf574058a066436aea06b0541ded6958.tar.bz2
wrap some overlong lines
Diffstat (limited to 'src/manifest_parser.cc')
-rw-r--r--src/manifest_parser.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/manifest_parser.cc b/src/manifest_parser.cc
index 271b841..2d052b5 100644
--- a/src/manifest_parser.cc
+++ b/src/manifest_parser.cc
@@ -177,8 +177,10 @@ bool ManifestParser::ParseRule(string* err) {
}
}
- if (rule->rspfile_.empty() != rule->rspfile_content_.empty())
- return lexer_.Error("rspfile and rspfile_content need to be both specified", err);
+ if (rule->rspfile_.empty() != rule->rspfile_content_.empty()) {
+ return lexer_.Error("rspfile and rspfile_content need to be both specified",
+ err);
+ }
if (rule->command_.empty())
return lexer_.Error("expected 'command =' line", err);