about summary refs log tree commit diff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-14T22·59+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-14T22·59+0000
commit267dc693d2ca8dea13199f92c265fc35fdb047f6 (patch)
tree580534be3b6b2cb5de74135f19128a3115e99a48 /src/libexpr/eval.hh
parent81de12bc8fa09a89dae958a3ffc93e7a4c245db1 (diff)
* Fix builtins.
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh9
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);