aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/interpret.h b/interpret.h
index 3d9ba572..ca67e966 100644
--- a/interpret.h
+++ b/interpret.h
@@ -236,7 +236,7 @@ uninitialized_scalar:
break;
default:
- cant_happen();
+ cant_happen("unexpected parameter type %s", nodetype2str(m->type));
}
}
break;
@@ -427,7 +427,7 @@ uninitialized_scalar:
break;
default:
- cant_happen();
+ cant_happen("unexpected lint type value %d", (int) pc->lint_type);
}
}
break;
@@ -1260,7 +1260,7 @@ match_re:
}
case Op_K_return_from_eval:
- cant_happen();
+ cant_happen("unexpected opcode %s", opcode2str(op));
break;
case Op_K_return: