No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / groff / src / include / error.h
blob32a9bb095c8d4f978f99a25ba1e6558fc30b2093
1 /* $NetBSD$ */
3 // -*- C++ -*-
4 /* Copyright (C) 1989, 1990, 1991, 1992, 2003, 2004
5 Free Software Foundation, Inc.
6 Written by James Clark (jjc@jclark.com)
8 This file is part of groff.
10 groff is free software; you can redistribute it and/or modify it under
11 the terms of the GNU General Public License as published by the Free
12 Software Foundation; either version 2, or (at your option) any later
13 version.
15 groff is distributed in the hope that it will be useful, but WITHOUT ANY
16 WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 for more details.
20 You should have received a copy of the GNU General Public License along
21 with groff; see the file COPYING. If not, write to the Free Software
22 Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */
24 extern void fatal_with_file_and_line(const char *filename, int lineno,
25 const char *format,
26 const errarg &arg1 = empty_errarg,
27 const errarg &arg2 = empty_errarg,
28 const errarg &arg3 = empty_errarg);
30 extern void error_with_file_and_line(const char *filename, int lineno,
31 const char *format,
32 const errarg &arg1 = empty_errarg,
33 const errarg &arg2 = empty_errarg,
34 const errarg &arg3 = empty_errarg);
36 extern void warning_with_file_and_line(const char *filename, int lineno,
37 const char *format,
38 const errarg &arg1 = empty_errarg,
39 const errarg &arg2 = empty_errarg,
40 const errarg &arg3 = empty_errarg);
42 extern void fatal(const char *,
43 const errarg &arg1 = empty_errarg,
44 const errarg &arg2 = empty_errarg,
45 const errarg &arg3 = empty_errarg);
47 extern void error(const char *,
48 const errarg &arg1 = empty_errarg,
49 const errarg &arg2 = empty_errarg,
50 const errarg &arg3 = empty_errarg);
52 extern void warning(const char *,
53 const errarg &arg1 = empty_errarg,
54 const errarg &arg2 = empty_errarg,
55 const errarg &arg3 = empty_errarg);
58 extern "C" const char *program_name;
59 extern int current_lineno;
60 extern const char *current_filename;
61 extern const char *current_source_filename;