1 /****************************************************************
2 Copyright 1990 by AT&T Bell Laboratories and Bellcore.
4 Permission to use, copy, modify, and distribute this software
5 and its documentation for any purpose and without fee is hereby
6 granted, provided that the above copyright notice appear in all
7 copies and that both that the copyright notice and this
8 permission notice and warranty disclaimer appear in supporting
9 documentation, and that the names of AT&T Bell Laboratories or
10 Bellcore or any of their entities not be used in advertising or
11 publicity pertaining to distribution of the software without
12 specific, written prior permission.
14 AT&T and Bellcore disclaim all warranties with regard to this
15 software, including all implied warranties of merchantability
16 and fitness. In no event shall AT&T or Bellcore be liable for
17 any special, indirect or consequential damages or any damages
18 whatsoever resulting from loss of use, data or profits, whether
19 in an action of contract, negligence or other tortious action,
20 arising out of or in connection with the use or performance of
22 ****************************************************************/
49 if (infname && *infname)
50 fprintf(diagfile, "Warning on line %ld of %s: %s\n",
53 fprintf(diagfile, "Warning on line %ld: %s\n", lineno, s);
92 if (infname && *infname)
93 fprintf(diagfile, "Error on line %ld of %s: %s\n",
96 fprintf(diagfile, "Error on line %ld: %s\n", lineno, s);
118 sprintf(buff, "Declaration error for %s: %s", v->fvarname, s);
122 errstr("Declaration error %s", s);
130 char buf1[100], buf2[100];
132 sprintf(buf1, "Execution error %s", s);
133 sprintf(buf2, buf1, n);
141 fprintf(diagfile, "Compiler error line %ld of %s: %s\n", lineno, infname, t);
169 badthing(thing, r, t)
174 sprintf(buff, "Impossible %s %d in routine %s", thing, t, r);
184 badthing("opcode", r, t);
193 badthing("tag", r, t);
204 badthing("storage class", r, t);
214 badthing("type", r, t);
225 "Too many %s.\nTable limit now %d.\nTry recompiling using the -N%c%d option\n",
234 errstr("Fortran 77 feature used: %s", s);
243 errstr("F77 compiler extension used: %s", s);