p4raw-id: //depot/win32/perl@787
if (type != OP_AELEM && type != OP_HELEM) {
yyerror(form("Can't use subscript on %s", op_desc[type]));
if (type == OP_ENTERSUB || type == OP_RV2HV || type == OP_PADHV) {
+ dTHR;
SV *msg = sv_2mortal(
newSVpvf("(Did you mean $ or @ instead of %c?)\n",
type == OP_ENTERSUB ? '&' : '%'));
void
save_aelem(AV *av, I32 idx, SV **sptr)
{
+ dTHR;
SSCHECK(4);
SSPUSHPTR(av);
SSPUSHINT(idx);
void
save_helem(HV *hv, SV *key, SV **sptr)
{
+ dTHR;
SSCHECK(4);
SSPUSHPTR(hv);
SSPUSHPTR(key);