Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 51 lines (43 sloc) 1.221 kB
759ae2c Initial restoration.
Darren Hiebert authored
1 /*
2 * $Id$
3 *
0a3b8ae Updated copyright dates.
Darren Hiebert authored
4 * Copyright (c) 1998-2002, Darren Hiebert
759ae2c Initial restoration.
Darren Hiebert authored
5 *
6 * This source code is released for free distribution under the terms of the
7 * GNU General Public License.
8 *
9 * External interface to get.c
10 */
11 #ifndef _GET_H
12 #define _GET_H
13
14 /*
15 * INCLUDE FILES
16 */
edf593f Reformatted code for independence of tab stop setting.
Darren Hiebert authored
17 #include "general.h" /* must always come first */
759ae2c Initial restoration.
Darren Hiebert authored
18
edf593f Reformatted code for independence of tab stop setting.
Darren Hiebert authored
19 #include "ctags.h" /* to define langType */
759ae2c Initial restoration.
Darren Hiebert authored
20
21 /*
22 * MACROS
23 */
24 /* Is the character valid as a character of a C identifier?
8c16be7 Added '$' as valid C identifier for VMS.
Darren Hiebert authored
25 * VMS allows '$' in identifiers.
759ae2c Initial restoration.
Darren Hiebert authored
26 */
edf593f Reformatted code for independence of tab stop setting.
Darren Hiebert authored
27 #define isident(c) (isalnum(c) || (c) == '_' || (c) == '$')
759ae2c Initial restoration.
Darren Hiebert authored
28
29 /* Is the character valid as the first character of a C identifier?
8c16be7 Added '$' as valid C identifier for VMS.
Darren Hiebert authored
30 * C++ allows '~' in destructors.
31 * VMS allows '$' in identifiers.
759ae2c Initial restoration.
Darren Hiebert authored
32 */
edf593f Reformatted code for independence of tab stop setting.
Darren Hiebert authored
33 #define isident1(c) (isalpha(c) || (c) == '_' || (c) == '~' || (c) == '$')
759ae2c Initial restoration.
Darren Hiebert authored
34
35 /*
36 * FUNCTION PROTOTYPES
37 */
38 extern boolean isBraceFormat (void);
39 extern unsigned int getDirectiveNestLevel (void);
ff33dca trunk/c.c:
Elliott Hughes authored
40 extern void cppInit (const boolean state, const boolean hasAtLiteralStrings);
759ae2c Initial restoration.
Darren Hiebert authored
41 extern void cppTerminate (void);
42 extern void cppBeginStatement (void);
43 extern void cppEndStatement (void);
44 extern void cppUngetc (const int c);
45 extern int cppGetc (void);
d8b4fb0 trunk/get.c:
Elliott Hughes authored
46 extern int skipOverCComment (void);
759ae2c Initial restoration.
Darren Hiebert authored
47
edf593f Reformatted code for independence of tab stop setting.
Darren Hiebert authored
48 #endif /* _GET_H */
759ae2c Initial restoration.
Darren Hiebert authored
49
edf593f Reformatted code for independence of tab stop setting.
Darren Hiebert authored
50 /* vi:set tabstop=4 shiftwidth=4: */
Something went wrong with that request. Please try again.