aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/nixexpr.cc')
-rw-r--r--src/libexpr/nixexpr.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc
index d52f7eadb..f4b4295e2 100644
--- a/src/libexpr/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
@@ -130,6 +130,11 @@ void ExprConcatStrings::show(std::ostream & str)
}
}
+void ExprPos::show(std::ostream & str)
+{
+ str << "__curPos";
+}
+
std::ostream & operator << (std::ostream & str, const Pos & pos)
{
@@ -315,6 +320,10 @@ void ExprConcatStrings::bindVars(const StaticEnv & env)
(*i)->bindVars(env);
}
+void ExprPos::bindVars(const StaticEnv & env)
+{
+}
+
/* Storing function names. */