SCCS-vsn: usr.bin/pascal/libpc/EXCEPT.c 1.3
/* Copyright (c) 1982 Regents of the University of California */
/* Copyright (c) 1982 Regents of the University of California */
-static char sccsid[] = "@(#)EXCEPT.c 1.2 %G%";
+static char sccsid[] = "@(#)EXCEPT.c 1.3 %G%";
/*
* catch runtime arithmetic errors
/*
* catch runtime arithmetic errors
int signum, type;
{
signal(SIGFPE, EXCEPT);
int signum, type;
{
signal(SIGFPE, EXCEPT);
ERROR("Overflow, underflow, or division by zero in arithmetic operation\n");
return;
ERROR("Overflow, underflow, or division by zero in arithmetic operation\n");
return;
+#endif notvax
+#ifdef vax
/*
* The values for this switch statement come from page 12-5 of
* Volume 1 of the 1978 VAX 11/780 Architecture Handbook
/*
* The values for this switch statement come from page 12-5 of
* Volume 1 of the 1978 VAX 11/780 Architecture Handbook
ERROR("Panic: Computational error in interpreter\n");
return;
}
ERROR("Panic: Computational error in interpreter\n");
return;
}