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 c1d544c6..c6f8bcb9 100644
--- a/eval.c
+++ b/eval.c
@@ -1171,7 +1171,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))
@@ -1345,7 +1345,7 @@ setup_frame(INSTRUCTION *pc)
break;
default:
- cant_happen();
+ cant_happen("unexpected parameter type %s", nodetype2str(m->type));
}
r->vname = fp[i].param;
}