Support all kinds of command line variables
This fixes #51. TODO: add tests for command line variables
diff --git a/eval.h b/eval.h
index 3f32d5c..bf8c98a 100644
--- a/eval.h
+++ b/eval.h
@@ -61,6 +61,7 @@
void Error(const string& msg);
void set_is_bootstrap(bool b) { is_bootstrap_ = b; }
+ void set_is_commandline(bool c) { is_commandline_ = c; }
void set_current_scope(Vars* v) { current_scope_ = v; }
@@ -109,6 +110,7 @@
Loc loc_;
bool is_bootstrap_;
+ bool is_commandline_;
bool avoid_io_;
// This value tracks the nest level of make expressions. For