1 /* C Compatible Compiler Preprocessor (CCCP)
2 Copyright (C) 1986, 1987, 1989, 2000 Free Software Foundation, Inc.
3 Written by Paul Rubin, June 1986
4 Adapted to ANSI C, Richard Stallman, Jan 1987
5 Dusted off, polished, and adapted for use as traditional
6 preprocessor only, Zack Weinberg, Jul 2000
8 This program is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the
10 Free Software Foundation; either version 2, or (at your option) any
13 This program 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.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
25 extern void error
PARAMS ((const char *msgid
, ...)) ATTRIBUTE_PRINTF_1
;
26 extern void warning
PARAMS ((const char *msgid
, ...)) ATTRIBUTE_PRINTF_1
;
27 extern void fatal
PARAMS ((const char *msgid
, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN
;
28 extern void error_with_line
PARAMS ((int, const char *msgid
, ...)) ATTRIBUTE_PRINTF_2
;
29 extern void error_from_errno
PARAMS ((const char *msgid
));
31 extern void perror_with_name
PARAMS ((const char *msgid
));
32 extern void pfatal_with_name
PARAMS ((const char *msgid
)) ATTRIBUTE_NORETURN
;
33 extern void fancy_abort
PARAMS ((int, const char *)) ATTRIBUTE_NORETURN
;
35 extern struct hashnode
*lookup
PARAMS ((const unsigned char *, int, int));
36 extern int parse_c_expression
PARAMS ((const char *)); /* in tradcif.y */
37 extern int test_assertion
PARAMS ((unsigned char **));
38 extern int flag_signed_char
;
40 #define is_idchar(x) ISIDNUM(x)
41 #define is_idstart(x) ISIDST(x)
42 #define is_space(x) ISSPACE(x)
43 #define is_nvspace(x) (IS_NVSPACE(x) && x != '\0')
45 #endif /* ! GCC_TRADCPP_H */