projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d7213e
)
add "msvc_deps_prefix" to Rule::IsReservedBinding()
author
Niklas Rosenstein
<rosensteinniklas@gmail.com>
Sun, 6 Dec 2015 15:14:33 +0000
(16:14 +0100)
committer
Niklas Rosenstein
<rosensteinniklas@gmail.com>
Sun, 6 Dec 2015 15:14:33 +0000
(16:14 +0100)
fixes the error about an unexpected variable for a rule that
declares the msvc_deps_prefix. The manual suggests that this
should work since Ninja 1.5
(https://ninja-build.org/manual.html#ref_rule).
Closes #1043
src/eval_env.cc
patch
|
blob
|
history
diff --git
a/src/eval_env.cc
b/src/eval_env.cc
index
e991d21
..
0abfdda
100644
(file)
--- a/
src/eval_env.cc
+++ b/
src/eval_env.cc
@@
-71,7
+71,8
@@
bool Rule::IsReservedBinding(const string& var) {
var == "pool" ||
var == "restat" ||
var == "rspfile" ||
- var == "rspfile_content";
+ var == "rspfile_content" ||
+ var == "msvc_deps_prefix";
}
const map<string, const Rule*>& BindingEnv::GetRules() const {