aboutsummaryrefslogtreecommitdiff
path: root/eval.h
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-22 16:17:08 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-22 16:17:08 +0900
commit0e74c5452987d20abedf03452183aafc7f3059ec (patch)
tree358eb464f6c7ad1bdc9262f0bef053bbac66eda1 /eval.h
parent861bd64b71cbe63f177445410e1f2254e1b79bb0 (diff)
downloadkati-0e74c5452987d20abedf03452183aafc7f3059ec.tar.gz
[C++] Fix builtin_rules.mk
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/eval.h b/eval.h
index adb3700..7461d73 100644
--- a/eval.h
+++ b/eval.h
@@ -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_