annotate mc.h @ 183:1d80ad165831 gcc-header-pass

recursive macros
author kono
date Sun, 30 Nov 2003 23:30:14 +0900
parents e1e9ec8c96a7
children 4303255fc3cf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
1 /* Micro-C header file */
d35df41eac69 Initial revision
kono
parents:
diff changeset
2
d35df41eac69 Initial revision
kono
parents:
diff changeset
3 #define DEBUG error(-1)
d35df41eac69 Initial revision
kono
parents:
diff changeset
4
d35df41eac69 Initial revision
kono
parents:
diff changeset
5 /*#include "CCLIB.TXT" */
19
b62230ea38f6 ifdef debug
kono
parents: 18
diff changeset
6 #ifdef __micro_c__
b62230ea38f6 ifdef debug
kono
parents: 18
diff changeset
7 #include "stdio.h"
b62230ea38f6 ifdef debug
kono
parents: 18
diff changeset
8 #else
b62230ea38f6 ifdef debug
kono
parents: 18
diff changeset
9 #include <stdio.h>
b62230ea38f6 ifdef debug
kono
parents: 18
diff changeset
10 #endif
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
11
d35df41eac69 Initial revision
kono
parents:
diff changeset
12 #define SIZE_INT 4
d35df41eac69 Initial revision
kono
parents:
diff changeset
13
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
14 /* reserved word start */
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
15
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
16 #define INT (-1)
162
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
17 #define UNSIGNED (-2)
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
18 #define CHAR (-3)
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
19 #define UCHAR (-4)
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
20 #define POINTER (-5)
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
21 #define ARRAY (-6)
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
22 #define STRUCT (-7)
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
23 #define UNION (-8)
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
24 #define FUNCTION (-9)
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
25
d35df41eac69 Initial revision
kono
parents:
diff changeset
26 #define STATIC (-10)
d35df41eac69 Initial revision
kono
parents:
diff changeset
27 #define GOTO (-11)
d35df41eac69 Initial revision
kono
parents:
diff changeset
28 #define RETURN (-12)
d35df41eac69 Initial revision
kono
parents:
diff changeset
29 #define BREAK (-13)
d35df41eac69 Initial revision
kono
parents:
diff changeset
30 #define CONTINUE (-14)
d35df41eac69 Initial revision
kono
parents:
diff changeset
31 #define IF (-15)
d35df41eac69 Initial revision
kono
parents:
diff changeset
32 #define ELSE (-16)
d35df41eac69 Initial revision
kono
parents:
diff changeset
33 #define FOR (-17)
d35df41eac69 Initial revision
kono
parents:
diff changeset
34 #define DO (-18)
d35df41eac69 Initial revision
kono
parents:
diff changeset
35 #define WHILE (-19)
d35df41eac69 Initial revision
kono
parents:
diff changeset
36 #define SWITCH (-20)
d35df41eac69 Initial revision
kono
parents:
diff changeset
37 #define CASE (-21)
d35df41eac69 Initial revision
kono
parents:
diff changeset
38 #define DEFAULT (-22)
d35df41eac69 Initial revision
kono
parents:
diff changeset
39 #define RESERVE (-23)
d35df41eac69 Initial revision
kono
parents:
diff changeset
40 #define TAG (-24)
d35df41eac69 Initial revision
kono
parents:
diff changeset
41 #define FIELD (-25)
d35df41eac69 Initial revision
kono
parents:
diff changeset
42 #define IDENT (-26)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
43 #define MACRO (-27)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
44 #define BLABEL (-28)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
45 #define FLABEL (-29)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
46 #define TYPEDEF (-30)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
47 #define SIZEOF (-31)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
48 #define TYPE (-32)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
49 #define LONG (-33)
178
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
50 #define SHORT (-34)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
51 #define USHORT (-35)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
52 #define EXTRN (-36)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
53 #define EXTRN1 (-37)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
54 #define VOID (-38)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
55 #define INLINE (-39)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
56 #define REGISTER (-40)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
57 #define FREGISTER (-41)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
58 #define DREGISTER (-42)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
59 #define CODE (-43)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
60 #define ENVIRONMENT (-44)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
61 #define DEFINED (-45)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
62 #define ENUM (-46)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
63 #define KONST (-47)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
64 #define FMACRO (-48)
0f395aa93438 gcc include file
kono
parents: 177
diff changeset
65 #define LMACRO (-49)
182
e1e9ec8c96a7 some fix
kono
parents: 178
diff changeset
66 #define SIGNED (-50)
e1e9ec8c96a7 some fix
kono
parents: 178
diff changeset
67 #define DOTS (-51)
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
68
182
e1e9ec8c96a7 some fix
kono
parents: 178
diff changeset
69 #define FLOAT (-52)
e1e9ec8c96a7 some fix
kono
parents: 178
diff changeset
70 #define DOUBLE (-53)
e1e9ec8c96a7 some fix
kono
parents: 178
diff changeset
71 #define LONGLONG (-54)
e1e9ec8c96a7 some fix
kono
parents: 178
diff changeset
72 #define ULONGLONG (-55)
e1e9ec8c96a7 some fix
kono
parents: 178
diff changeset
73 #define VOLATILE (-56)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
74
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
75 /* reserved word end */
78
8418d4b7caa7 *** empty log message ***
kono
parents: 77
diff changeset
76
103
f849af4b5ea9 *** empty log message ***
kono
parents: 101
diff changeset
77 #define EMPTY (-99)
f849af4b5ea9 *** empty log message ***
kono
parents: 101
diff changeset
78
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
79 /* mode start */
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
80 #define TOP 0
d35df41eac69 Initial revision
kono
parents:
diff changeset
81 #define GDECL 1
d35df41eac69 Initial revision
kono
parents:
diff changeset
82 #define GSDECL 2
d35df41eac69 Initial revision
kono
parents:
diff changeset
83 #define GUDECL 3
d35df41eac69 Initial revision
kono
parents:
diff changeset
84 #define ADECL 4
d35df41eac69 Initial revision
kono
parents:
diff changeset
85 #define LDECL 5
d35df41eac69 Initial revision
kono
parents:
diff changeset
86 #define LSDECL 6
d35df41eac69 Initial revision
kono
parents:
diff changeset
87 #define LUDECL 7
d35df41eac69 Initial revision
kono
parents:
diff changeset
88 #define STADECL 8
d35df41eac69 Initial revision
kono
parents:
diff changeset
89 #define STAT 9
d35df41eac69 Initial revision
kono
parents:
diff changeset
90 #define GTDECL 10
d35df41eac69 Initial revision
kono
parents:
diff changeset
91 #define LTDECL 11
18
df7fa8cee67b pass -Wall
kono
parents: 3
diff changeset
92 #define IFDEF 12
29
160e20394f80 macro function (imcomplete)
kono
parents: 28
diff changeset
93 #define MDECL 13
176
kono
parents: 174
diff changeset
94 #define GEDECL 14
kono
parents: 174
diff changeset
95 #define LEDECL 15
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
96 /* mode end */
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
97
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
98 #define US 1
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
99 #define AS 1000
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
100 #define SOP 200
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
101 #define DOP 400
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
102 #define FOP 600
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
103 #define LOP 800
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
104
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
105 /* tree node tags start */
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
106
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
107 #define LIST_ARGS(i) (i==FUNCTION||i==CODE)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
108
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
109 /* nullary argments */
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
110
d35df41eac69 Initial revision
kono
parents:
diff changeset
111 #define GVAR 1
d35df41eac69 Initial revision
kono
parents:
diff changeset
112 #define RGVAR 2
d35df41eac69 Initial revision
kono
parents:
diff changeset
113 #define CRGVAR 3
162
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
114 #define CURGVAR 4
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
115 #define LVAR 5
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
116 #define RLVAR 6
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
117 #define CRLVAR 7
0c604d2ff585 *** empty log message ***
kono
parents: 150
diff changeset
118 #define CURLVAR 8
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
119 #define FRGVAR (FOP+RGVAR)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
120 #define FRLVAR (FOP+RLVAR)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
121 #define DRGVAR (DOP+RGVAR)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
122 #define DRLVAR (DOP+RLVAR)
165
kono
parents: 164
diff changeset
123 #define SRGVAR (SOP+CRGVAR)
kono
parents: 164
diff changeset
124 #define SRLVAR (SOP+CRLVAR)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
125 #define SURGVAR (SOP+CURGVAR)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
126 #define SURLVAR (SOP+CURLVAR)
165
kono
parents: 164
diff changeset
127 #define LRGVAR (LOP+CRGVAR)
kono
parents: 164
diff changeset
128 #define LRLVAR (LOP+CRLVAR)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
129 #define LURGVAR (LOP+CURGVAR)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
130 #define LURLVAR (LOP+CURLVAR)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
131
166
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
132 #define CONST 9
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
133 #define DCONST (DOP+CONST)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
134 #define FCONST (FOP+CONST)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
135 #define LCONST (LOP+CONST)
166
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
136 #define STRING 10
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
137 #define FNAME 11
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
138
166
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
139 #define NULLARY_ARGS(i) (i==REGISTER||i==DREGISTER||i==FREGISTER||(GVAR<=(i%SOP)&&(i%SOP)<=FNAME))
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
140
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
141 /* unary argments */
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
142
166
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
143 #define ADDRESS 12
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
144 #define MINUS 13
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
145 #define LNOT 14
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
146 #define BNOT 15
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
147 #define INC 16
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
148 #define POSTINC 17
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
149 #define UPOSTINC 18
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
150 #define PREINC 19
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
151 #define UPREINC 20
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
152 #define DEC 21
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
153 #define CPOSTINC 22
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
154 #define CPREINC 23
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
155 #define CPOSTDEC 24
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
156 #define CPREDEC 25
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
157 #define CUPOSTINC 26
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
158 #define CUPREINC 27
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
159 #define CUPOSTDEC 28
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
160 #define CUPREDEC 29
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
161 #define SPOSTINC (SOP+CPOSTINC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
162 #define SPREINC (SOP+CPREINC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
163 #define SPOSTDEC (SOP+CPOSTDEC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
164 #define SPREDEC (SOP+CPREDEC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
165 #define SUPOSTINC (SOP+CUPOSTINC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
166 #define SUPREINC (SOP+CUPREINC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
167 #define SUPOSTDEC (SOP+CUPOSTDEC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
168 #define SUPREDEC (SOP+CUPREDEC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
169 #define FPOSTINC (FOP+POSTINC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
170 #define FPREINC (FOP+PREINC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
171 #define DPOSTINC (DOP+POSTINC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
172 #define DPREINC (DOP+PREINC)
165
kono
parents: 164
diff changeset
173 #define LPOSTINC (LOP+CPOSTINC)
kono
parents: 164
diff changeset
174 #define LPREINC (LOP+CPREINC)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
175 #define LUPOSTINC (LOP+CUPOSTINC)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
176 #define LUPREINC (LOP+CUPREINC)
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
177 #define INDIRECT 30
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
178 #define RINDIRECT 31
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
179 #define CRINDIRECT 32
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
180 #define CURINDIRECT 33
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
181 #define SRINDIRECT (SOP+CRINDIRECT)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
182 #define SURINDIRECT (SOP+CURINDIRECT)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
183 #define FRINDIRECT (FOP+RINDIRECT)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
184 #define DRINDIRECT (DOP+RINDIRECT)
165
kono
parents: 164
diff changeset
185 #define LRINDIRECT (DOP+CRINDIRECT)
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
186 #define RSTRUCT 34
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
187 #define CONV 35
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
188
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
189 #define UNARY_ARGS(i) (ADDRESS<=(i%SOP)&&(i%SOP)<=CONV)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
190
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
191 /* binary argments */
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
192
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
193 #define MUL 36
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
194 #define UMUL 37
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
195 #define DIV 38
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
196 #define UDIV 39
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
197 #define MOD 40
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
198 #define UMOD 41
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
199 #define ADD 42
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
200 #define SUB 43
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
201 #define CMP 44
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
202 #define RSHIFT 45
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
203 #define URSHIFT 46
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
204 #define LSHIFT 47
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
205 #define ULSHIFT 48
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
206 #define GT 49
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
207 #define UGT 50
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
208 #define GE 51
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
209 #define UGE 52
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
210 #define LT 53
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
211 #define ULT 54
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
212 #define LE 55
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
213 #define ULE 56
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
214 #define EQ 57
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
215 #define NEQ 58
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
216 #define BAND 59
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
217 #define EOR 60
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
218 #define BOR 61
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
219 #define LAND 62
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
220 #define LOR 63
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
221 #define ASS 64
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
222 #define CMPGE 65
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
223 #define ASSOP 66
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
224 #define COMMA 67
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
225
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
226 #define CASS 68
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
227 #define CASSOP 69
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
228 #define CUASSOP 70
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
229
165
kono
parents: 164
diff changeset
230 #define SASS (SOP+CASS)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
231 #define SASSOP (SOP+CASSOP)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
232 #define SUASSOP (SOP+CUASSOP)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
233
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
234 #define DASS (DOP+ASS)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
235 #define DCMPGE (DOP+CMPGE)
89
917947ffeb7c power pc version
kono
parents: 85
diff changeset
236 #define DASSOP (DOP+ASSOP)
917947ffeb7c power pc version
kono
parents: 85
diff changeset
237 #define DCMP (DOP+CMP)
917947ffeb7c power pc version
kono
parents: 85
diff changeset
238 #define DMINUS (DOP+MINUS)
82
25654dc29ecc First Floating Point coding done.
kono
parents: 81
diff changeset
239 #define DMUL (DOP+MUL)
25654dc29ecc First Floating Point coding done.
kono
parents: 81
diff changeset
240 #define DDIV (DOP+DIV)
25654dc29ecc First Floating Point coding done.
kono
parents: 81
diff changeset
241 #define DADD (DOP+ADD)
25654dc29ecc First Floating Point coding done.
kono
parents: 81
diff changeset
242 #define DSUB (DOP+SUB)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
243
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
244 #define FASS (FOP+ASS)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
245 #define FCMPGE (FOP+CMPGE)
133
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
246 #define FASSOP (FOP+ASSOP)
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
247 #define FCMP (FOP+CMP)
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
248 #define FMINUS (FOP+MINUS)
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
249 #define FMUL (FOP+MUL)
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
250 #define FDIV (FOP+DIV)
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
251 #define FADD (FOP+ADD)
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
252 #define FSUB (FOP+SUB)
78
8418d4b7caa7 *** empty log message ***
kono
parents: 77
diff changeset
253
165
kono
parents: 164
diff changeset
254 #define LASS (LOP+CASS)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
255 #define LCMPGE (LOP+CMPGE)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
256 #define LASSOP (LOP+CASSOP)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
257 #define LUASSOP (LOP+CUASSOP)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
258 #define LMUL (LOP+MUL)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
259 #define LDIV (LOP+DIV)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
260 #define LUMUL (LOP+UMUL)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
261 #define LUDIV (LOP+UDIV)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
262 #define LADD (LOP+ADD)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
263 #define LSUB (LOP+SUB)
81
f94ca1168520 float first try...
kono
parents: 78
diff changeset
264
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
265 #define STASS 71
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
266
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
267 #define BINARY_ARGS(i) (MUL<=(i%SOP)&&(i%SOP)<=STASS)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
268
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
269 /* tarnary argments */
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
270
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
271 #define COND 72
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
272 #define SCOND (SOP+COND)
133
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
273 #define DCOND (DOP+COND)
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
274 #define FCOND (FOP+COND)
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
275 #define LCOND (LOP+COND)
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
276
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
277 #define TARNARY_ARGS(i) (COND==(i%SOP))
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
278
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
279 /* not appeared as tags */
81
f94ca1168520 float first try...
kono
parents: 78
diff changeset
280
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
281 #define I2D 73
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
282 #define D2I 74
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
283 #define U2D 75
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
284 #define D2U 76
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
285 #define F2D 77
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
286 #define D2F 78
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
287 #define I2F 79
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
288 #define F2I 80
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
289 #define U2F 81
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
290 #define F2U 82
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
291
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
292 #define LPAR 83
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
293 #define RPAR 84
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
294 #define LBRA 85
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
295 #define RBRA 86
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
296 #define LC 87
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
297 #define RC 88
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
298 #define COLON 89
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
299 #define SM 90
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
300 #define PERIOD 91
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
301 #define ARROW 92
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
302 #define CNAME 93
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
303
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
304 /* tree node tags end */
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
305
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
306 /* error number start */
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
307
d35df41eac69 Initial revision
kono
parents:
diff changeset
308 #define FILERR 1
d35df41eac69 Initial revision
kono
parents:
diff changeset
309 #define DCERR 2
d35df41eac69 Initial revision
kono
parents:
diff changeset
310 #define STERR 3
d35df41eac69 Initial revision
kono
parents:
diff changeset
311 #define EXERR 4
d35df41eac69 Initial revision
kono
parents:
diff changeset
312 #define CNERR 5
d35df41eac69 Initial revision
kono
parents:
diff changeset
313 #define CHERR 6
d35df41eac69 Initial revision
kono
parents:
diff changeset
314 #define GSERR 7
d35df41eac69 Initial revision
kono
parents:
diff changeset
315 #define LSERR 8
d35df41eac69 Initial revision
kono
parents:
diff changeset
316 #define STRERR 9
d35df41eac69 Initial revision
kono
parents:
diff changeset
317 #define LNERR 10
d35df41eac69 Initial revision
kono
parents:
diff changeset
318 #define EOFERR 11
d35df41eac69 Initial revision
kono
parents:
diff changeset
319 #define MCERR 12
d35df41eac69 Initial revision
kono
parents:
diff changeset
320 #define INCERR 13
d35df41eac69 Initial revision
kono
parents:
diff changeset
321 #define HPERR 14
d35df41eac69 Initial revision
kono
parents:
diff changeset
322 #define TYERR 15
d35df41eac69 Initial revision
kono
parents:
diff changeset
323 #define LVERR 16
d35df41eac69 Initial revision
kono
parents:
diff changeset
324 #define UDERR 17
d35df41eac69 Initial revision
kono
parents:
diff changeset
325 #define OPTION 18
d35df41eac69 Initial revision
kono
parents:
diff changeset
326 #define REG_ERR 19
d35df41eac69 Initial revision
kono
parents:
diff changeset
327 #define CODE_ERR 20
29
160e20394f80 macro function (imcomplete)
kono
parents: 28
diff changeset
328 #define MSERR 21
164
1c2a9232ea93 mc.h generation
kono
parents: 162
diff changeset
329 /* error number end */
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
330
d35df41eac69 Initial revision
kono
parents:
diff changeset
331 #define GSYMS 9000
d35df41eac69 Initial revision
kono
parents:
diff changeset
332 #define LSYMS 500
32
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
333 #define MSYMS 3000
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
334
183
1d80ad165831 recursive macros
kono
parents: 182
diff changeset
335 #define HEAPSIZE 30000
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
336 /* #define CHEAPSIZE 3000 */
183
1d80ad165831 recursive macros
kono
parents: 182
diff changeset
337 #define CHEAPSIZE 356000
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
338 #define LBUFSIZE 4096
34
0756caa79167 macro function recursive and copy method
kono
parents: 33
diff changeset
339 #define MACROSIZE 16000
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
340
25
b7a94557bf92 *** empty log message ***
kono
parents: 20
diff changeset
341 #define FILES 10
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
342 #define OUTPUT_FILE_NAME "mcout.s"
d35df41eac69 Initial revision
kono
parents:
diff changeset
343
29
160e20394f80 macro function (imcomplete)
kono
parents: 28
diff changeset
344 EXTERN int sym,ch,type,mode,stmode,gfree,lfree,mflag,lineno,glineno;
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
345 EXTERN int labelno,gpc,disp,reg_var,debug;
d35df41eac69 Initial revision
kono
parents:
diff changeset
346 EXTERN int symval,args,init_vars,heap[HEAPSIZE];
d35df41eac69 Initial revision
kono
parents:
diff changeset
347 EXTERN int blabel,clabel,dlabel,cslabel,ilabel,control,ac,ac2,lsrc,chk,asmf;
d35df41eac69 Initial revision
kono
parents:
diff changeset
348 EXTERN int MAX_REGISTER_VAR;
81
f94ca1168520 float first try...
kono
parents: 78
diff changeset
349 EXTERN double dsymval;
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
350
d35df41eac69 Initial revision
kono
parents:
diff changeset
351 EXTERN unsigned hash;
d35df41eac69 Initial revision
kono
parents:
diff changeset
352
34
0756caa79167 macro function recursive and copy method
kono
parents: 33
diff changeset
353 EXTERN int chsave;
115
ebac635814dc fix nested macro function
kono
parents: 110
diff changeset
354 EXTERN int chptrsave;
29
160e20394f80 macro function (imcomplete)
kono
parents: 28
diff changeset
355 EXTERN char linebuf[LBUFSIZE],namebuf[LBUFSIZE],*chptr;
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
356 EXTERN char *name,*cheapp,**av,/*obuf[320],*/*sptr,escape(void);
166
9e55cc5551fb *** empty log message ***
kono
parents: 165
diff changeset
357 EXTERN int arg_offset,stat_no,size_of_int,size_of_short,disp_offset,endian,csvalue1;
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
358 EXTERN int code_arg_offset;
81
f94ca1168520 float first try...
kono
parents: 78
diff changeset
359 EXTERN int size_of_double,size_of_float,size_of_longlong;
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
360 EXTERN int retlabel,retpending,retcont;
77
2b8ba655e572 fix arg type
kono
parents: 72
diff changeset
361 EXTERN int arglist;
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
362
d35df41eac69 Initial revision
kono
parents:
diff changeset
363 EXTERN FILE *obuf;
d35df41eac69 Initial revision
kono
parents:
diff changeset
364
168
b1297c82e926 cpostinc removal
kono
parents: 166
diff changeset
365 #if 1
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
366 typedef struct nametable {
d35df41eac69 Initial revision
kono
parents:
diff changeset
367 char *nm;
d35df41eac69 Initial revision
kono
parents:
diff changeset
368 int sc,ty,dsp; } NMTBL;
110
fb502a0071f8 first binary run
kono
parents: 108
diff changeset
369 #else
fb502a0071f8 first binary run
kono
parents: 108
diff changeset
370 typedef struct nametable {
fb502a0071f8 first binary run
kono
parents: 108
diff changeset
371 char *nm;
fb502a0071f8 first binary run
kono
parents: 108
diff changeset
372 int sc; int ty; int dsp; } NMTBL;
fb502a0071f8 first binary run
kono
parents: 108
diff changeset
373 #endif
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
374
30
20ed2786a276 still macro
kono
parents: 29
diff changeset
375 EXTERN NMTBL mtable[MSYMS];
28
c6994794f084 functional macro (imcomplete)
kono
parents: 25
diff changeset
376 EXTERN NMTBL ntable[GSYMS+LSYMS];
c6994794f084 functional macro (imcomplete)
kono
parents: 25
diff changeset
377 EXTERN NMTBL *nptr,*gnptr;
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
378 EXTERN NMTBL *fnptr;
105
7e3d59e56a53 save register ( incomplete )
kono
parents: 104
diff changeset
379 EXTERN NMTBL null_nptr;
72
3b5d293cea36 type def etc
kono
parents: 70
diff changeset
380 EXTERN int typedefed,gtypedefed;
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
381
173
3b33c7daae95 *** empty log message ***
kono
parents: 168
diff changeset
382 EXTERN struct {int fd,ln;char *name0;int inc;FILE *fcb;} *filep,filestack[FILES];
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
383 EXTERN char cheap[CHEAPSIZE];
34
0756caa79167 macro function recursive and copy method
kono
parents: 33
diff changeset
384 EXTERN char *macropp,macro_buf[MACROSIZE];
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
385
173
3b33c7daae95 *** empty log message ***
kono
parents: 168
diff changeset
386 extern void macro_define(char *n);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
387 extern void error(int n);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
388 extern int size(int t);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
389 extern int scalar(int t);
81
f94ca1168520 float first try...
kono
parents: 78
diff changeset
390 extern int dlist2(int e1, double e2);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
391 extern int list2(int e1, int e2);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
392 extern int list3(int e1, int e2, int e3);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
393 extern int list4(int e1, int e2, int e3,int e4);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
394 extern int reverse0(int t1);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
395 extern int assign_data(int e, int t, NMTBL *n,int offset);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
396 extern int assign_expr0(int e1,int e2,int t,int type) ;
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
397 extern int assign_expr(int e1,int e2,int t,int type) ;
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
398 extern int append4(int p,int a1,int a2,int a3);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
399
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
400
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
401
33
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
402 #define car(e) (heap[(int)(e)])
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
403
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
404 #define cadr(e) (heap[((int)(e))+1])
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
405
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
406 #define caddr(e) (heap[((int)(e))+2])
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
407
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
408 #define cadddr(e) (heap[((int)(e))+3])
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
409
81
f94ca1168520 float first try...
kono
parents: 78
diff changeset
410 #define dcadr(e) (*(double*)&heap[((int)(e))+1])
f94ca1168520 float first try...
kono
parents: 78
diff changeset
411 #define dcaddr(e) (*(double*)&heap[((int)(e))+2])
f94ca1168520 float first try...
kono
parents: 78
diff changeset
412
66
0b068058dd67 *** empty log message ***
kono
parents: 65
diff changeset
413 #include "conv/conv.h"
0b068058dd67 *** empty log message ***
kono
parents: 65
diff changeset
414 /*
59
eeca07d1b1c2 *** empty log message ***
kono
parents: 42
diff changeset
415 #include "conv/c2cbc.h"
eeca07d1b1c2 *** empty log message ***
kono
parents: 42
diff changeset
416 #include "conv/cbc2c.h"
66
0b068058dd67 *** empty log message ***
kono
parents: 65
diff changeset
417 */
59
eeca07d1b1c2 *** empty log message ***
kono
parents: 42
diff changeset
418
62
129f4802b027 separation done
kono
parents: 61
diff changeset
419 extern Converter *conv;
59
eeca07d1b1c2 *** empty log message ***
kono
parents: 42
diff changeset
420
119
b815fcd57b9d input var ( incomplete )
kono
parents: 117
diff changeset
421 EXTERN void extern_define(char *s,int dsp,int type,int use);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
422 EXTERN void error(int n);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
423 EXTERN int append4(int p,int a1,int a2,int a3);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
424 EXTERN int assign_expr(int e1,int e2,int t,int type);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
425 EXTERN int assign_expr0(int e1,int e2,int t,int type);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
426 EXTERN int backdef(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
427 EXTERN int fwdlabel(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
428 EXTERN int glist2(int e1,int e2);
95
185d2cc6a3a9 *** empty log message ***
kono
parents: 94
diff changeset
429 EXTERN int glist3(int e1,int e2,int e3);
117
2d5a203cc3a6 lvar reuse
kono
parents: 115
diff changeset
430 EXTERN void free_glist2(int e1);
2d5a203cc3a6 lvar reuse
kono
parents: 115
diff changeset
431 EXTERN void free_glist3(int e1);
2d5a203cc3a6 lvar reuse
kono
parents: 115
diff changeset
432 EXTERN int integral(int t);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
433 EXTERN int integral(int t);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
434 EXTERN int list2(int e1, int e2);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
435 EXTERN int list3(int e1, int e2, int e3);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
436 EXTERN int list4(int e1, int e2, int e3, int e4);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
437 EXTERN int reverse0(int t1);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
438 EXTERN int rplacad(int e, int n);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
439 EXTERN int rplacadd(int e, int n);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
440 EXTERN int rvalue_t(int e,int type);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
441 EXTERN int scalar(int t);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
442 EXTERN void bexpr(int e1, char cond, int l1);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
443 EXTERN void def_label(int cslabel, int dlabel);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
444 EXTERN void display_ntable(NMTBL *n, char *s);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
445 EXTERN void exit(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
446 EXTERN void fwddef(int l);
94
1ad7045741a7 float dbinop fix
kono
parents: 91
diff changeset
447 EXTERN int new_lvar(int size);
1ad7045741a7 float dbinop fix
kono
parents: 91
diff changeset
448
117
2d5a203cc3a6 lvar reuse
kono
parents: 115
diff changeset
449 EXTERN void free_lvar(int lvar);
2d5a203cc3a6 lvar reuse
kono
parents: 115
diff changeset
450 EXTERN void init_free_lvar_list();
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents: 59
diff changeset
451
33
8500dbb69dd9 bad macro processing. give up this method.
kono
parents: 32
diff changeset
452 /* end */