diff options
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-06-22 16:17:08 +0900 |
---|---|---|
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2015-06-22 16:17:08 +0900 |
commit | 0e74c5452987d20abedf03452183aafc7f3059ec (patch) | |
tree | 358eb464f6c7ad1bdc9262f0bef053bbac66eda1 /eval.h | |
parent | 861bd64b71cbe63f177445410e1f2254e1b79bb0 (diff) | |
download | kati-0e74c5452987d20abedf03452183aafc7f3059ec.tar.gz |
[C++] Fix builtin_rules.mk
Diffstat (limited to 'eval.h')
-rw-r--r-- | eval.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -42,7 +42,6 @@ class Evaluator { void EvalInclude(const IncludeAST* ast); void EvalExport(const ExportAST* ast); - Var* LookupVar(StringPiece name); // For target specific variables. Var* LookupVarInCurrentScope(StringPiece name); @@ -55,6 +54,8 @@ class Evaluator { void Error(const string& msg); + void set_is_bootstrap(bool b) { is_bootstrap_ = b; } + private: void DoInclude(const char* fname, bool should_exist); @@ -65,6 +66,7 @@ class Evaluator { Rule* last_rule_; Loc loc_; + bool is_bootstrap_; }; #endif // EVAL_H_ |