aboutsummaryrefslogtreecommitdiffstats
path: root/rule.cc
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-23 16:51:07 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-23 20:27:40 +0900
commitffc52c3c5bed9d696d0296c1674d2e75460bef40 (patch)
tree7364bea9749e3de9fcf308b9c4b825e7425b881a /rule.cc
parent9042b995db7f0b9499e0c3087269505e5e817a58 (diff)
downloadplatform_build_kati-ffc52c3c5bed9d696d0296c1674d2e75460bef40.tar.gz
platform_build_kati-ffc52c3c5bed9d696d0296c1674d2e75460bef40.tar.bz2
platform_build_kati-ffc52c3c5bed9d696d0296c1674d2e75460bef40.zip
[C++] Let target specific variable have its own scope
Diffstat (limited to 'rule.cc')
-rw-r--r--rule.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rule.cc b/rule.cc
index fe0c2a8..d98a409 100644
--- a/rule.cc
+++ b/rule.cc
@@ -60,7 +60,7 @@ Rule::Rule()
}
void ParseRule(Loc& loc, StringPiece line, bool is_assign,
- Rule** out_rule, RuleVar* rule_var) {
+ Rule** out_rule, RuleVarAssignment* rule_var) {
size_t index = line.find(':');
if (index == string::npos) {
ERROR("%s:%d: *** missing separator.", LOCF(loc));