more robust version

This commit is contained in:
ceriel 1987-03-31 08:15:22 +00:00
parent 9b6a511a1d
commit 4117fa4362

View File

@ -55,10 +55,10 @@ main(argc,argv)
if (p->em_type == EM_FATAL) {
fatal("%s", EM_error);
}
if (p->em_type == EM_ERROR) {
if (EM_error) {
error("%s", EM_error);
}
if (!EM_mkcalls(p)) {
if (p->em_type != EM_ERROR && !EM_mkcalls(p)) {
error("%s", EM_error);
}
p = EM_getinstr();