From 4c77f361ae6f0894a0b5e4e7decc0b761ceef5b6 Mon Sep 17 00:00:00 2001 From: CSRG Date: Thu, 10 Dec 1987 04:43:53 -0800 Subject: [PATCH] BSD 4_3_Reno development Work on file usr/src/libexec/pcc/mip/localdefs.h Synthesized-from: CSRG/cd2/4.3reno --- usr/src/libexec/pcc/mip/localdefs.h | 55 +++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 usr/src/libexec/pcc/mip/localdefs.h diff --git a/usr/src/libexec/pcc/mip/localdefs.h b/usr/src/libexec/pcc/mip/localdefs.h new file mode 100644 index 0000000000..42728c7879 --- /dev/null +++ b/usr/src/libexec/pcc/mip/localdefs.h @@ -0,0 +1,55 @@ +/* localdefs.h 4.1 85/03/19 */ +/* + * Definitions of symbols local to PCC. + * + * This file is not included directly by PCC sources -- instead it is + * preprocessed along with to yield two files, pcclocal.h + * and pcctokens. The preprocessing strips off the PCC_ prefix + * from all the symbols, since the PCC has no potential clashes... + */ + + +# ifndef PCC_LOCALTOKENS + +# define PCC_LOCALTOKENS 100 + +# ifdef _PASS1_ + +/* + * Leftover operators. + */ +# define PCC_ASOP 100 /* assignment ops */ +# define PCC_RELOP 101 /* <=, <, >=, > */ +# define PCC_EQUOP 102 /* ==, != */ +# define PCC_DIVOP 103 /* /, % */ +# define PCC_SHIFTOP 104 /* <<, >> */ +# define PCC_INCOP 105 /* ++, -- */ +# define PCC_UNOP 106 /* !, ~ */ +# define PCC_STROP 107 /* ., -> */ + +# define PCC_LP 108 /* ( */ +# define PCC_RP 109 /* ) */ +# define PCC_LC 110 /* { */ +# define PCC_RC 111 /* } */ + +# endif _PASS1_ + +/* + * C keywords. + */ +# define PCC_STRUCT 112 +# define PCC_IF 113 +# define PCC_ELSE 114 +# define PCC_SWITCH 115 +# define PCC_BREAK 116 +# define PCC_CONTINUE 117 +# define PCC_WHILE 118 +# define PCC_DO 119 +# define PCC_FOR 120 +# define PCC_DEFAULT 121 +# define PCC_CASE 122 +# define PCC_SIZEOF 123 +# define PCC_ENUM 124 +# define PCC_SM 125 + +# endif PCC_LOCALTOKENS -- 2.20.1