Commit df431f45 authored by Christian Hergert's avatar Christian Hergert

eval: use args, not node when evaluating args

parent 2b549624
......@@ -898,7 +898,7 @@ tmpl_expr_gi_call_eval (TmplExprGiCall *node,
if (args->any.type == TMPL_EXPR_STMT_LIST)
{
if (!tmpl_expr_eval_internal (((TmplExprSimple *)node)->left, scope, value, error))
if (!tmpl_expr_eval_internal (((TmplExprSimple *)args)->left, scope, value, error))
goto cleanup;
args = ((TmplExprSimple *)args)->right;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment