1 /* lexerr.h 2 3 Written by Don Maszle 4 13 October 1991 5 6 Copyright (c) 1991-2017 Free Software Foundation, Inc. 7 8 This file is part of GNU MCSim. 9 10 GNU MCSim is free software; you can redistribute it and/or 11 modify it under the terms of the GNU General Public License 12 as published by the Free Software Foundation; either version 3 13 of the License, or (at your option) any later version. 14 15 GNU MCSim is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU General Public License for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with GNU MCSim; if not, see <http://www.gnu.org/licenses/> 22 23 Header file for error reporting routine of lexerr.c 24 */ 25 26 #ifndef LEXERR_H_DEFINED 27 28 /* ---------------------------------------------------------------------------- 29 Inclusions */ 30 31 #include "hungtype.h" 32 #include "lex.h" 33 #include "sim.h" 34 35 /* ---------------------------------------------------------------------------- 36 Prototypes */ 37 38 void ReportError (PINPUTBUF, WORD, PSTR, PSTR); 39 void ReportRunTimeError (PANALYSIS, WORD, ...); 40 41 #define LEXERR_H_DEFINED 42 #endif 43 44 /* End */ 45 46 47