aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r--src/libexpr/parser.y9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index 46bbce1f6..d6d5c85f5 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -574,10 +574,6 @@ namespace nix {
Expr * EvalState::parse(const char * text, FileOrigin origin,
const Path & path, const Path & basePath, std::shared_ptr<StaticEnv> & staticEnv)
{
- // std::cout << "EvalState::parse " << text << std::endl;
- // for (auto i = staticEnv->vars.begin(); i != staticEnv->vars.end(); ++i)
- // std::cout << "EvalState::parse staticEnv " << i->first << std::endl;
-
yyscan_t scanner;
ParseData data(*this);
data.origin = origin;
@@ -601,13 +597,8 @@ Expr * EvalState::parse(const char * text, FileOrigin origin,
if (res) throw ParseError(data.error.value());
-
- // std::cout << "EvalState::parse pre bindvars " << std::endl;
-
data.result->bindVars(staticEnv);
- // std::cout << "EvalState::parse post bindVars " << std::endl;
-
return data.result;
}