aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/parser.y
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-10-22 14:27:04 -0600
committerBen Burdette <bburdette@gmail.com>2021-10-22 14:27:04 -0600
commite54f17eb46bc487abc38e70dfc2f1c617fb59d32 (patch)
treef57d0be12d6b472ed0aacc6ffef92aec3bae3593 /src/libexpr/parser.y
parentcbc2f0fe31576a6403e179bdbbaf9aefa113555b (diff)
remove more debug code
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;
}