new version from Chris Torek
[unix-history] / usr / src / old / pcc / mip / localdefs.h
CommitLineData
9e55b39e
RC
1/* localdefs.h 4.1 85/03/19 */
2/*
3 * Definitions of symbols local to PCC.
4 *
5 * This file is not included directly by PCC sources -- instead it is
6 * preprocessed along with <pcc.h> to yield two files, pcclocal.h
7 * and pcctokens. The preprocessing strips off the PCC_ prefix
8 * from all the symbols, since the PCC has no potential clashes...
9 */
10
11
12# ifndef PCC_LOCALTOKENS
13
14# define PCC_LOCALTOKENS 100
15
16# ifdef _PASS1_
17
18/*
19 * Leftover operators.
20 */
21# define PCC_ASOP 100 /* assignment ops */
22# define PCC_RELOP 101 /* <=, <, >=, > */
23# define PCC_EQUOP 102 /* ==, != */
24# define PCC_DIVOP 103 /* /, % */
25# define PCC_SHIFTOP 104 /* <<, >> */
26# define PCC_INCOP 105 /* ++, -- */
27# define PCC_UNOP 106 /* !, ~ */
28# define PCC_STROP 107 /* ., -> */
29
30# define PCC_LP 108 /* ( */
31# define PCC_RP 109 /* ) */
32# define PCC_LC 110 /* { */
33# define PCC_RC 111 /* } */
34
35# endif _PASS1_
36
37/*
38 * C keywords.
39 */
40# define PCC_STRUCT 112
41# define PCC_IF 113
42# define PCC_ELSE 114
43# define PCC_SWITCH 115
44# define PCC_BREAK 116
45# define PCC_CONTINUE 117
46# define PCC_WHILE 118
47# define PCC_DO 119
48# define PCC_FOR 120
49# define PCC_DEFAULT 121
50# define PCC_CASE 122
51# define PCC_SIZEOF 123
52# define PCC_ENUM 124
53# define PCC_SM 125
54
55# endif PCC_LOCALTOKENS