aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 9e644523..013ee062 100644
--- a/eval.c
+++ b/eval.c
@@ -1172,7 +1172,7 @@ r_get_lhs(NODE *n, bool reference)
break;
default:
- cant_happen();
+ cant_happen("unexpected variable type %s", nodetype2str(n->type));
}
if (do_lint && reference && var_uninitialized(n))
@@ -1346,7 +1346,7 @@ setup_frame(INSTRUCTION *pc)
break;
default:
- cant_happen();
+ cant_happen("unexpected parameter type %s", nodetype2str(m->type));
}
r->vname = fp[i].param;
}