forked from lix-project/lix
indenting
This commit is contained in:
parent
bc20e54e00
commit
1bda6a01e1
|
@ -1542,18 +1542,18 @@ void EvalState::callFunction(Value & fun, size_t nrArgs, Value * * args, Value &
|
|||
/* Evaluate the body. */
|
||||
try {
|
||||
std::unique_ptr<DebugTraceStacker> dts =
|
||||
debuggerHook ?
|
||||
std::unique_ptr<DebugTraceStacker>(
|
||||
new DebugTraceStacker(
|
||||
*this,
|
||||
Trace { .pos = lambda.pos,
|
||||
.hint = hintfmt(
|
||||
"while evaluating %s",
|
||||
(lambda.name.set()
|
||||
? "'" + (string) lambda.name + "'"
|
||||
: "anonymous lambda"))
|
||||
}))
|
||||
: std::unique_ptr<DebugTraceStacker>();
|
||||
debuggerHook ?
|
||||
std::unique_ptr<DebugTraceStacker>(
|
||||
new DebugTraceStacker(
|
||||
*this,
|
||||
Trace {.pos = lambda.pos,
|
||||
.hint = hintfmt(
|
||||
"while evaluating %s",
|
||||
(lambda.name.set()
|
||||
? "'" + (string) lambda.name + "'"
|
||||
: "anonymous lambda"))
|
||||
}))
|
||||
: std::unique_ptr<DebugTraceStacker>();
|
||||
|
||||
|
||||
lambda.body->eval(*this, env2, vCur);
|
||||
|
|
Loading…
Reference in a new issue