diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-14T22·59+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-14T22·59+0000 |
commit | 267dc693d2ca8dea13199f92c265fc35fdb047f6 (patch) | |
tree | 580534be3b6b2cb5de74135f19128a3115e99a48 /src/libexpr/eval.hh | |
parent | 81de12bc8fa09a89dae958a3ffc93e7a4c245db1 (diff) |
* Fix builtins.
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index bc61c84ea746..551ae8d488ac 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -231,6 +231,15 @@ private: values. */ Env & baseEnv; + unsigned int baseEnvDispl; + +public: + + /* The same, but used during parsing to resolve variables. */ + StaticEnv staticBaseEnv; // !!! should be private + +private: + void createBaseEnv(); void addConstant(const string & name, Value & v); |