mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
remove more debug code
This commit is contained in:
parent
cbc2f0fe31
commit
e54f17eb46
7 changed files with 9 additions and 128 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue