* splay-tree.h (splay_tree_max): New function.
[official-gcc.git] / gcc / ch / lex.h
blob4bf748c7da6f69bdf07f6951aa17b2c55e5ce7d9
1 /* Define constants for communication with the CHILL parser.
2 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1999, 2000
3 Free Software Foundation, Inc.
5 This file is part of GNU CC.
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
24 enum rid
26 RID_UNUSED, /* keep this one first, please */
27 RID_ALL,
28 RID_ASSERTFAIL,
29 RID_ASSOCIATION,
30 RID_BIN,
31 RID_BIT,
32 RID_BOOL,
33 RID_BOOLS,
34 RID_BYTE,
35 RID_CHAR,
36 RID_CHARS,
37 RID_DOUBLE,
38 RID_DURATION,
39 RID_DYNAMIC,
40 RID_ELSE,
41 RID_EMPTY,
42 RID_FALSE,
43 RID_FLOAT,
44 RID_GENERAL,
45 RID_IN,
46 RID_INLINE,
47 RID_INOUT,
48 RID_INSTANCE,
49 RID_INT,
50 RID_LOC,
51 RID_LONG,
52 RID_LONG_REAL,
53 RID_NULL,
54 RID_OUT,
55 RID_OVERFLOW,
56 RID_PTR,
57 RID_RANGE,
58 RID_RANGEFAIL,
59 RID_READ,
60 RID_REAL,
61 RID_RECURSIVE,
62 RID_SHORT,
63 RID_SIMPLE,
64 RID_TIME,
65 RID_TRUE,
66 RID_UBYTE,
67 RID_UINT,
68 RID_ULONG,
69 RID_UNSIGNED,
70 RID_USHORT,
71 RID_VOID,
72 RID_MAX /* Last element */
75 #define NORID RID_UNUSED
77 #define RID_FIRST_MODIFIER RID_UNSIGNED
79 /* The elements of `ridpointers' are identifier nodes
80 for the reserved type names and storage classes.
81 It is indexed by a RID_... value. */
82 extern tree ridpointers[(int) RID_MAX];
84 extern char *token_buffer; /* Pointer to token buffer. */
86 extern tree make_pointer_declarator PARAMS ((tree, tree));
87 extern void reinit_parse_for_function PARAMS ((void));
88 extern int yylex PARAMS ((void));
90 extern tree default_grant_file;
91 extern tree current_grant_file;
93 extern tree current_seize_file;
95 extern int chill_at_module_level;
96 extern tree chill_initializer_name;
98 extern void prepare_paren_colon PARAMS ((void));