Merge from mainline
[official-gcc.git] / gcc / ch / parse.h
blob142b33b3be618a2d49050bb7dfb2bd6d72a8b1e5
1 typedef union {
2 long itype;
3 tree ttype;
4 enum tree_code code;
5 char *filename;
6 int lineno;
7 } YYSTYPE;
8 extern YYSTYPE yylval;
10 /* DELAY is defined in the standard headers on some platforms like
11 SunOS 4.1.4. */
12 #ifdef DELAY
13 #undef DELAY
14 #endif
16 enum terminal
18 /*EOF = 0,*/
19 last_char_nonterminal = 256,
20 /* Please keep these in alphabetic order, for easier reference and updating.
22 ABSOLUTE, ACCESS, AFTER, ALL, ALLOCATE, AND, ANDIF, ARRAY,
23 ARROW, ASGN, ASM_KEYWORD, ASSERT, ASSOCIATION, AT,
24 BASED, BEGINTOKEN, BIN, BIT, BITSTRING, BODY, BOOLS, BUFFER,
25 BUFFERNAME, BUFFER_CODE, BY,
26 CALL, CASE, CAUSE, CDDEL, CHAR, CHARS, COLON, COMMA, CONCAT, CONST,
27 CONTINUE, CYCLE,
28 DCL, DELAY, DIV, DO, DOT, DOWN, DYNAMIC,
29 ELSE, ELSIF, END, ENTRY, EQL, ESAC, EVENT, EVENT_CODE, EVER,
30 EXCEPTIONS, EXIT,
31 EXPR, /* an expression that has been pushed back */
32 FI, FLOATING, FOR, FORBID,
33 GENERAL, GOTO, GRANT, GT, GTE,
34 HEADEREL,
35 IF, IGNORED_DIRECTIVE, IN, INIT, INOUT, INLINE,
36 LC, LOC, LPC, LPRN, LT, LTE,
37 MOD, MODULE, MUL,
38 NAME, NE, NEW, NEWMODE, NONREF, NOPACK, NOT, NUMBER,
39 OD, OF, ON, OR, ORIF,
40 PACK, PARAMATTR, PERVASIVE, PLUS, POS, POWERSET,
41 PREFIXED, PRIORITY, PROC, PROCESS,
42 RANGE, RC, READ, READTEXT, RECEIVE, RECURSIVE, REF, REGION, REM,
43 RESULT, RETURN, RETURNS, ROUND, ROW, RPC, RPRN, RPRN_COLON,
44 SAME, SC, SEIZE, SEND, SET, SHARED, SIGNAL, SIGNALNAME, SIMPLE,
45 SINGLECHAR, SPEC, START, STATIC, STEP, STOP, STREAM, STRING,
46 STRUCT, SUB, SYN, SYNMODE,
47 TERMINATE, TEXT, THEN, THIS, TIMEOUT, TO, TRUNC, TYPENAME,
48 UP, USAGE,
49 VARYING,
50 WHERE, WHILE, WITH,
51 XOR,
53 /* These tokens only used within ch-lex.l to process compiler directives */
54 ALL_STATIC_OFF, ALL_STATIC_ON, EMPTY_OFF, EMPTY_ON,
55 GRANT_FILE_SIZE, PROCESS_TYPE_TOKEN, RANGE_OFF, RANGE_ON,
56 SEND_BUFFER_DEFAULT_PRIORITY, SEND_SIGNAL_DEFAULT_PRIORITY,
57 SIGNAL_CODE, SIGNAL_MAX_LENGTH, USE_SEIZE_FILE, USE_SEIZE_FILE_RESTRICTED,
58 USE_GRANT_FILE,
60 /* These tokens are recognized, and reported as errors, by the lexer. */
61 CONTEXT, REMOTE,
63 /* This token is passed back to the parser when an the main
64 input file (not a seize file) has reached end-of-file. */
65 END_PASS_1,
67 EMPTY, UMINUS,
69 dummy_last_terminal