diff options
| author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-06-19 15:30:49 +0900 |
|---|---|---|
| committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-06-22 15:46:23 +0900 |
| commit | 0562c301e9e359ca32abf647e32300aaea75d8f7 (patch) | |
| tree | c226363ee2dbc512f577a621d64d442934ce348e /rule.cc | |
| parent | 4a7113136b40e77d65ffd2ed22d1162a9e6f126b (diff) | |
[C++] Implement suffix rule
Diffstat (limited to 'rule.cc')
| -rw-r--r-- | rule.cc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) { |
