aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-06-10 10:29:50 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-06-10 10:29:50 +0000
commitf16fe2af8d59fef156c29077a240a832d3e60ef2 (patch)
treee76a9db974af45eb58015aa638f0ce170f2565e7 /src/libexpr/eval.hh
parent07ca66cf242eef3c7a6396e9353e48037034498b (diff)
* builtins.toXML: propagate the string context. This is a regression
from the old ATerm-based evaluator.
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 65c689a50..0cdf0b283 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -161,6 +161,8 @@ void mkString(Value & v, const char * s);
void mkString(Value & v, const string & s, const PathSet & context = PathSet());
void mkPath(Value & v, const char * s);
+void copyContext(const Value & v, PathSet & context);
+
typedef std::map<Path, Hash> DrvHashes;