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. */
|
/* Evaluate the body. */
|
||||||
try {
|
try {
|
||||||
std::unique_ptr<DebugTraceStacker> dts =
|
std::unique_ptr<DebugTraceStacker> dts =
|
||||||
debuggerHook ?
|
debuggerHook ?
|
||||||
std::unique_ptr<DebugTraceStacker>(
|
std::unique_ptr<DebugTraceStacker>(
|
||||||
new DebugTraceStacker(
|
new DebugTraceStacker(
|
||||||
*this,
|
*this,
|
||||||
Trace { .pos = lambda.pos,
|
Trace {.pos = lambda.pos,
|
||||||
.hint = hintfmt(
|
.hint = hintfmt(
|
||||||
"while evaluating %s",
|
"while evaluating %s",
|
||||||
(lambda.name.set()
|
(lambda.name.set()
|
||||||
? "'" + (string) lambda.name + "'"
|
? "'" + (string) lambda.name + "'"
|
||||||
: "anonymous lambda"))
|
: "anonymous lambda"))
|
||||||
}))
|
}))
|
||||||
: std::unique_ptr<DebugTraceStacker>();
|
: std::unique_ptr<DebugTraceStacker>();
|
||||||
|
|
||||||
|
|
||||||
lambda.body->eval(*this, env2, vCur);
|
lambda.body->eval(*this, env2, vCur);
|
||||||
|
|
Loading…
Reference in a new issue