diff options
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2016-05-20 16:35:35 +0900 |
---|---|---|
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | 2016-05-20 16:35:35 +0900 |
commit | 1c3a69502c86c2c32223a267c5bf49db80b55f47 (patch) | |
tree | 733a71e0cdd3da441bb7aac8a678e88af61ec6b3 /eval.h | |
parent | ac6f169b10ccdb6593987591e29138698c6c1969 (diff) | |
download | kati-1c3a69502c86c2c32223a267c5bf49db80b55f47.tar.gz |
Support all kinds of command line variables
This fixes #51. TODO: add tests for command line variables
Diffstat (limited to 'eval.h')
-rw-r--r-- | eval.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,7 @@ class Evaluator { 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 @@ class Evaluator { Loc loc_; bool is_bootstrap_; + bool is_commandline_; bool avoid_io_; // This value tracks the nest level of make expressions. For |