aboutsummaryrefslogtreecommitdiff
path: root/rule.cc
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-19 15:30:49 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-22 15:46:23 +0900
commit0562c301e9e359ca32abf647e32300aaea75d8f7 (patch)
treec226363ee2dbc512f577a621d64d442934ce348e /rule.cc
parent4a7113136b40e77d65ffd2ed22d1162a9e6f126b (diff)
[C++] Implement suffix rule
Diffstat (limited to 'rule.cc')
-rw-r--r--rule.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/rule.cc b/rule.cc
index f0b9f63..6ddd55a 100644
--- a/rule.cc
+++ b/rule.cc
@@ -42,8 +42,7 @@ bool IsPatternRule(StringPiece s) {
Rule::Rule()
: is_double_colon(false),
is_suffix_rule(false),
- cmd_lineno(0),
- is_temporary(true) {
+ cmd_lineno(0) {
}
void ParseRule(Loc& loc, StringPiece line,
@@ -88,7 +87,6 @@ void ParseRule(Loc& loc, StringPiece line,
Rule* rule = new Rule();
*out_rule = rule;
- rule->is_temporary = false;
rule->loc = loc;
rule->is_double_colon = is_double_colon;
if (is_first_pattern) {