yyerror.c revision 824
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * (c) Copyright 1988-1994 Adobe Systems Incorporated.
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * All rights reserved.
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * Permission to use, copy, modify, distribute, and sublicense this software
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * and its documentation for any purpose and without fee is hereby granted,
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * provided that the above copyright notices appear in all copies and that
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * both those copyright notices and this permission notice appear in
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * supporting documentation and that the name of Adobe Systems Incorporated
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * not be used in advertising or publicity pertaining to distribution of the
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * software without specific, written prior permission. No trademark license
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * to use the Adobe trademarks is hereby granted. If the Adobe trademark
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * "Display PostScript"(tm) is used to describe this software, its
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * functionality or for any other purpose, such use shall be limited to a
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * statement that this software works in conjunction with the Display
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * PostScript system. Proper trademark attribution to reflect Adobe's
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * ownership of the trademark shall be given whenever any such reference to
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * the Display PostScript system is made.
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * ADOBE MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE SOFTWARE FOR
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * ADOBE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * NON- INFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL ADOBE BE LIABLE
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * TO YOU OR ANY OTHER PARTY FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * DAMAGES OR ANY DAMAGES WHATSOEVER WHETHER IN AN ACTION OF CONTRACT,
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * NEGLIGENCE, STRICT LIABILITY OR ANY OTHER ACTION ARISING OUT OF OR IN
be077570f779664ed87b50f60608df9fbe258821Tom Gundersen * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ADOBE WILL NOT
be077570f779664ed87b50f60608df9fbe258821Tom Gundersen * PROVIDE ANY TRAINING OR OTHER SUPPORT FOR THE SOFTWARE.
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * Adobe, PostScript, and Display PostScript are trademarks of Adobe Systems
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * Incorporated which may be registered in certain jurisdictions
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen * Author: Adobe Systems Incorporated
816e2e7af96886e4a43194042ef61ba9fec2c77dTom Gundersen/* ErrIntro prints a standard intro for error messages;
816e2e7af96886e4a43194042ef61ba9fec2c77dTom Gundersen * change it if your system uses something else. We have many options:
816e2e7af96886e4a43194042ef61ba9fec2c77dTom Gundersen * to match Macintosh: #define FMT "File \"%s\"; Line %d # "
816e2e7af96886e4a43194042ef61ba9fec2c77dTom Gundersen * to match BSD cc: #define FMT "\"%s\", line %d: "
816e2e7af96886e4a43194042ef61ba9fec2c77dTom Gundersen * to match gcc: #define FMT "%s:%d: "
816e2e7af96886e4a43194042ef61ba9fec2c77dTom Gundersen * to match Mips cc: #define FMT "pswrap: Error: %s, line %d: "
816e2e7af96886e4a43194042ef61ba9fec2c77dTom Gundersen#else /* macintosh */
b44cd8821087f2afebf85fec5b588f5720a9415cTom Gundersen#endif /* macintosh */
errorCount++;