diff options
author | Ben Burdette <bburdette@gmail.com> | 2021-10-22 13:41:04 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2021-10-22 13:41:04 -0600 |
commit | 383ab600ee1f36f14677a0082473f5680193c12c (patch) | |
tree | 50223763c15e413e01a7b379be69a69e8aaf9841 /src/libcmd/command.cc | |
parent | 427fb8d1581d7b20b0f5205cc59f3857275860c1 (diff) |
show expr on error
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r-- | src/libcmd/command.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc index d8e79953c..2d86dbd61 100644 --- a/src/libcmd/command.cc +++ b/src/libcmd/command.cc @@ -110,6 +110,10 @@ ref<EvalState> EvalCommand::getEvalState() printStaticEnvBindings(expr); + std::cout << "expr: " << std::endl; + expr.show(std::cout); + std::cout << std::endl; + // printEnvPosChain(env); // printEnvBindings(env); if (expr.staticenv) |