aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index afee89420..a6a64a43c 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -18,7 +18,6 @@
#include "gc-small-vector.hh"
#include "fetch-to-store.hh"
#include "flake/flakeref.hh"
-#include "parser-tab.hh"
#include <algorithm>
#include <chrono>
@@ -2958,21 +2957,6 @@ std::optional<std::string> EvalState::resolveSearchPathPath(const SearchPath::Pa
}
-Expr * EvalState::parse(
- char * text,
- size_t length,
- Pos::Origin origin,
- const SourcePath & basePath,
- std::shared_ptr<StaticEnv> & staticEnv)
-{
- auto result = parseExprFromBuf(text, length, origin, basePath, symbols, positions, exprSymbols);
-
- result->bindVars(*this, staticEnv);
-
- return result;
-}
-
-
std::string ExternalValueBase::coerceToString(EvalState & state, const PosIdx & pos, NixStringContext & context, bool copyMore, bool copyToStore) const
{
state.error<TypeError>(