mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
This commit is contained in:
@@ -685,16 +685,12 @@ eval_userfunc(expr_node *node, Value *locals, Value *ans, int *nonconst)
|
|||||||
/* Add a call to the call stack for better error messages */
|
/* Add a call to the call stack for better error messages */
|
||||||
pushed = push_call(f->filename, f->name, f->lineno);
|
pushed = push_call(f->filename, f->name, f->lineno);
|
||||||
|
|
||||||
if (DebugFlag & DB_PRTEXPR) {
|
DBG(debug_enter_userfunc(node, new_locals, f->nargs));
|
||||||
debug_enter_userfunc(node, new_locals, f->nargs);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Evaluate the function's expr_node tree */
|
/* Evaluate the function's expr_node tree */
|
||||||
r = evaluate_expr_node(f->node, new_locals, ans, nonconst);
|
r = evaluate_expr_node(f->node, new_locals, ans, nonconst);
|
||||||
|
|
||||||
if (DebugFlag & DB_PRTEXPR) {
|
DBG(debug_exit_userfunc(node, ans, r, new_locals, f->nargs));
|
||||||
debug_exit_userfunc(node, ans, r, new_locals, f->nargs);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (r != OK) {
|
if (r != OK) {
|
||||||
/* We print the error here in order to get the call stack trace */
|
/* We print the error here in order to get the call stack trace */
|
||||||
|
|||||||
Reference in New Issue
Block a user