Added z80 port (links, may not work). mcs51 still works.
[fw/sdcc] / src / SDCCy.h
1 typedef union {
2     symbol     *sym ;      /* symbol table pointer       */
3     structdef  *sdef;      /* structure definition       */
4     char       yychar[SDCC_NAME_MAX+1];
5     link       *lnk ;      /* declarator  or specifier   */
6     int        yyint;      /* integer value returned     */
7     value      *val ;      /* for integer constant       */
8     initList   *ilist;     /* initial list               */
9     char       yyinline[MAX_INLINEASM]; /* inlined assembler code */
10     ast       *asts;     /* expression tree            */
11 } YYSTYPE;
12 #define IDENTIFIER      257
13 #define TYPE_NAME       258
14 #define CONSTANT        259
15 #define STRING_LITERAL  260
16 #define SIZEOF  261
17 #define PTR_OP  262
18 #define INC_OP  263
19 #define DEC_OP  264
20 #define LEFT_OP 265
21 #define RIGHT_OP        266
22 #define LE_OP   267
23 #define GE_OP   268
24 #define EQ_OP   269
25 #define NE_OP   270
26 #define AND_OP  271
27 #define OR_OP   272
28 #define MUL_ASSIGN      273
29 #define DIV_ASSIGN      274
30 #define MOD_ASSIGN      275
31 #define ADD_ASSIGN      276
32 #define SUB_ASSIGN      277
33 #define LEFT_ASSIGN     278
34 #define RIGHT_ASSIGN    279
35 #define AND_ASSIGN      280
36 #define XOR_ASSIGN      281
37 #define OR_ASSIGN       282
38 #define TYPEDEF 283
39 #define EXTERN  284
40 #define STATIC  285
41 #define AUTO    286
42 #define REGISTER        287
43 #define CODE    288
44 #define INTERRUPT       289
45 #define SFR     290
46 #define AT      291
47 #define SBIT    292
48 #define REENTRANT       293
49 #define USING   294
50 #define XDATA   295
51 #define DATA    296
52 #define IDATA   297
53 #define PDATA   298
54 #define VAR_ARGS        299
55 #define CRITICAL        300
56 #define CHAR    301
57 #define SHORT   302
58 #define INT     303
59 #define LONG    304
60 #define SIGNED  305
61 #define UNSIGNED        306
62 #define FLOAT   307
63 #define DOUBLE  308
64 #define CONST   309
65 #define VOLATILE        310
66 #define VOID    311
67 #define BIT     312
68 #define STRUCT  313
69 #define UNION   314
70 #define ENUM    315
71 #define ELIPSIS 316
72 #define RANGE   317
73 #define FAR     318
74 #define _XDATA  319
75 #define _CODE   320
76 #define _GENERIC        321
77 #define _NEAR   322
78 #define _PDATA  323
79 #define _IDATA  324
80 #define CASE    325
81 #define DEFAULT 326
82 #define IF      327
83 #define ELSE    328
84 #define SWITCH  329
85 #define WHILE   330
86 #define DO      331
87 #define FOR     332
88 #define GOTO    333
89 #define CONTINUE        334
90 #define BREAK   335
91 #define RETURN  336
92 #define INLINEASM       337
93 #define IFX     338
94 #define ADDRESS_OF      339
95 #define GET_VALUE_AT_ADDRESS    340
96 #define SPIL    341
97 #define UNSPIL  342
98 #define GETHBIT 343
99 #define BITWISEAND      344
100 #define UNARYMINUS      345
101 #define IPUSH   346
102 #define IPOP    347
103 #define PCALL   348
104 #define ENDFUNCTION     349
105 #define JUMPTABLE       350
106 #define RRC     351
107 #define RLC     352
108 #define CAST    353
109 #define CALL    354
110 #define PARAM   355
111 #define NULLOP  356
112 #define BLOCK   357
113 #define LABEL   358
114 #define RECEIVE 359
115 #define SEND    360
116
117
118 extern YYSTYPE yylval;