return NULL;
if (Tgettype(co) != T_CODE)
- panic(POS, "Eunit", "argument type is not T_CODE");
+ panic1(POS, "Eunit", "argument type is not T_CODE");
m = Mpushmark(co);
PUSHJMP(oeljbufp, eljbufp, eljbuf);
/* NOT REACHED */
break;
default:
- panic(POS, "eeval", "unknown program token type %d", ctype);
+ panic1(POS, "eeval", "unknown program token type %d", ctype);
}
return v1o;
}
sinfop[ownsinfoi].fco = fdo;
sinfop[ownsinfoi].fci = bi;
if (fid < 0 || fid >= Ifuncn)
- panic(POS, "efcall", "no such internal function: %d", fid);
+ panic1(POS, "efcall", "no such internal function: %d", fid);
rtno = Ttrue;
if ((*Ifuncs[fid].func) (i, &lvarp[flvari]) == L_FAILURE) {
rtno = NULL;
case C_GE:
return (r >= 0) ? TRUE : FALSE;
}
- panic(POS, "orderop", "bad op code");
+ panic1(POS, "orderop", "bad op code");
return FALSE; /* NOT REACHED */
}
long tm;
if (!to || !T_ISTABLE(to))
- panic(POS, "Tinsi", "insert attempted on non-table");
+ panic1(POS, "Tinsi", "insert attempted on non-table");
tm = Mpushmark(to);
if (vo)
Mpushmark(vo);
long tm;
if (!to || !T_ISTABLE(to))
- panic(POS, "Tinsr", "insert attempted on non-table");
+ panic1(POS, "Tinsr", "insert attempted on non-table");
tm = Mpushmark(to);
if (vo)
Mpushmark(vo);
long tm;
if (!to || !T_ISTABLE(to))
- panic(POS, "Tinss", "insert attempted on non-table");
+ panic1(POS, "Tinss", "insert attempted on non-table");
tm = Mpushmark(to);
if (vo)
Mpushmark(vo);
long tm;
if (!to || !T_ISTABLE(to))
- panic(POS, "Tinso", "insert attempted on non-table");
+ panic1(POS, "Tinso", "insert attempted on non-table");
if (!ko || !(T_ISINTEGER(ko) || T_ISREAL(ko) || T_ISSTRING(ko)))
- panic(POS, "Tinso", "bad key");
+ panic1(POS, "Tinso", "bad key");
tm = Mpushmark(to);
Mpushmark(ko);
if (vo)
if (!to)
return NULL;
if (!T_ISTABLE(to))
- panic(POS, "Tfindi", "find attempted on non-table");
+ panic1(POS, "Tfindi", "find attempted on non-table");
keyi.i = ik;
return find(to, &keyi, NULL);
}
if (!to)
return NULL;
if (!T_ISTABLE(to))
- panic(POS, "Tfindr", "find attempted on non-table");
+ panic1(POS, "Tfindr", "find attempted on non-table");
keyr.d = rk;
return find(to, &keyr, NULL);
}
if (!to)
return NULL;
if (!T_ISTABLE(to))
- panic(POS, "Tfinds", "find attempted on non-table");
+ panic1(POS, "Tfinds", "find attempted on non-table");
return find(to, &keys, sk);
}
if (!to || !ko)
return NULL;
if (!T_ISTABLE(to))
- panic(POS, "Tfindo", "find attempted on non-table");
+ panic1(POS, "Tfindo", "find attempted on non-table");
if (!(T_ISINTEGER(ko) || T_ISREAL(ko) || T_ISSTRING(ko)))
- panic(POS, "Tfindo", "bad key");
+ panic1(POS, "Tfindo", "bad key");
return find(to, ko, NULL);
}
if (!to)
return;
if (!T_ISTABLE(to))
- panic(POS, "Tdeli", "delete attempted on non-table");
+ panic1(POS, "Tdeli", "delete attempted on non-table");
keyi.i = ik;
delete(to, &keyi, NULL);
}
if (!to)
return;
if (!T_ISTABLE(to))
- panic(POS, "Tdelr", "delete attempted on non-table");
+ panic1(POS, "Tdelr", "delete attempted on non-table");
keyr.d = rk;
delete(to, &keyr, NULL);
}
if (!to)
return;
if (!T_ISTABLE(to))
- panic(POS, "Tdels", "delete attempted on non-table");
+ panic1(POS, "Tdels", "delete attempted on non-table");
delete(to, &keys, sk);
}
if (!to || !ko)
return;
if (!T_ISTABLE(to))
- panic(POS, "Tdelo", "delete attempted on non-table");
+ panic1(POS, "Tdelo", "delete attempted on non-table");
if (!(T_ISINTEGER(ko) || T_ISREAL(ko) || T_ISSTRING(ko)))
- panic(POS, "Tdelo", "bad key");
+ panic1(POS, "Tdelo", "bad key");
delete(to, ko, NULL);
}
lp = &map.list[(unsigned long) fmo % MAPLISTN];
if (!(cep = Mallocate(MAPENTRYSIZE)))
- panic(POS, "mapinsert", "cannot allocate mapentry");
+ panic1(POS, "mapinsert", "cannot allocate mapentry");
cep->fmo = fmo, cep->too = too;
cep->next = *lp, *lp = cep;
}