aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/parser.y
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-10-11 16:48:10 -0600
committerBen Burdette <bburdette@gmail.com>2021-10-11 16:48:10 -0600
commit427fb8d1581d7b20b0f5205cc59f3857275860c1 (patch)
tree497132433030346469828f76c75dec0d0fa05c7b /src/libexpr/parser.y
parent98eb13691a16d9472b822a92f32b439a6ee6e288 (diff)
comment out debugs
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r--src/libexpr/parser.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index f10e73cda..46bbce1f6 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -574,9 +574,9 @@ 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;
+ // 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);
@@ -602,11 +602,11 @@ Expr * EvalState::parse(const char * text, FileOrigin origin,
if (res) throw ParseError(data.error.value());
- std::cout << "EvalState::parse pre bindvars " << std::endl;
+ // std::cout << "EvalState::parse pre bindvars " << std::endl;
data.result->bindVars(staticEnv);
- std::cout << "EvalState::parse post bindVars " << std::endl;
+ // std::cout << "EvalState::parse post bindVars " << std::endl;
return data.result;
}