| 1 |
/* error_routines.h: General error routines. |
| 2 |
|
| 3 |
This file is part of Omega, |
| 4 |
which is based on the web2c distribution of TeX, |
| 5 |
|
| 6 |
Copyright (c) 1994--2001 John Plaice and Yannis Haralambous |
| 7 |
|
| 8 |
Omega is free software; you can redistribute it and/or modify |
| 9 |
it under the terms of the GNU General Public License as published by |
| 10 |
the Free Software Foundation; either version 2 of the License, or |
| 11 |
(at your option) any later version. |
| 12 |
|
| 13 |
Omega is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with Omega; if not, write to the Free Software Foundation, Inc., |
| 20 |
59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
| 21 |
|
| 22 |
*/ |
| 23 |
|
| 24 |
extern int num_errors; |
| 25 |
|
| 26 |
extern void lex_error_1(const_string, int); |
| 27 |
extern void lex_error_s(const_string, const_string); |
| 28 |
extern void lex_error_s_1(const_string, const_string, int); |
| 29 |
|
| 30 |
extern void fatal_error_0(const_string); |
| 31 |
extern void fatal_error_1(const_string, int); |
| 32 |
extern void fatal_error_2(const_string, int, int); |
| 33 |
extern void fatal_error_s(const_string, const_string); |
| 34 |
|
| 35 |
extern void yyerror(const_string); |
| 36 |
|
| 37 |
extern void warning_0(const_string); |
| 38 |
extern void warning_1(const_string, int); |
| 39 |
extern void warning_2(const_string, int, int); |
| 40 |
extern void warning_s(const_string, const_string); |
| 41 |
extern void warning_s_1(const_string, const_string, int); |
| 42 |
extern void warning_s_2(const_string, const_string, int, int); |
| 43 |
|
| 44 |
extern void internal_error_0(const_string); |
| 45 |
extern void internal_error_1(const_string, int); |