Mercurial > hg > index.cgi
comparison lwasm/instab.c @ 374:8e25147c2aa8
Clean up various "externs"
Apparently some compilers seriously choke on the "extern" keyword in some
circumstances where GCC does not. Remove most instances of "extern" to guard
against that.
Thanks to Erik G <erik@6809.org> for the patch.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 13 Jul 2015 20:31:56 -0600 |
parents | c6d2a1f54e0c |
children | 80d615a6642c |
comparison
equal
deleted
inserted
replaced
373:00fced888c5d | 374:8e25147c2aa8 |
---|---|
19 | 19 |
20 | 20 |
21 Contains the instruction table for assembling code | 21 Contains the instruction table for assembling code |
22 */ | 22 */ |
23 #include <stdlib.h> | 23 #include <stdlib.h> |
24 #define __instab_c_seen__ | |
25 #include "instab.h" | 24 #include "instab.h" |
26 | 25 |
27 // inherent | 26 // inherent |
28 extern PARSEFUNC(insn_parse_inh); | 27 PARSEFUNC(insn_parse_inh); |
29 #define insn_resolve_inh NULL | 28 #define insn_resolve_inh NULL |
30 extern EMITFUNC(insn_emit_inh); | 29 EMITFUNC(insn_emit_inh); |
31 | 30 |
32 // inherent 6800 mode | 31 // inherent 6800 mode |
33 extern PARSEFUNC(insn_parse_inh6800); | 32 PARSEFUNC(insn_parse_inh6800); |
34 #define insn_resolve_inh6800 NULL | 33 #define insn_resolve_inh6800 NULL |
35 extern EMITFUNC(insn_emit_inh6800); | 34 EMITFUNC(insn_emit_inh6800); |
36 | 35 |
37 // register to register | 36 // register to register |
38 extern PARSEFUNC(insn_parse_rtor); | 37 PARSEFUNC(insn_parse_rtor); |
39 #define insn_resolve_rtor NULL | 38 #define insn_resolve_rtor NULL |
40 extern EMITFUNC(insn_emit_rtor); | 39 EMITFUNC(insn_emit_rtor); |
41 | 40 |
42 // TFM and variants | 41 // TFM and variants |
43 extern PARSEFUNC(insn_parse_tfmrtor); | 42 PARSEFUNC(insn_parse_tfmrtor); |
44 #define insn_resolve_tfmrtor NULL | 43 #define insn_resolve_tfmrtor NULL |
45 extern EMITFUNC(insn_emit_tfmrtor); | 44 EMITFUNC(insn_emit_tfmrtor); |
46 extern PARSEFUNC(insn_parse_tfm); | 45 PARSEFUNC(insn_parse_tfm); |
47 #define insn_resolve_tfm NULL | 46 #define insn_resolve_tfm NULL |
48 extern EMITFUNC(insn_emit_tfm); | 47 EMITFUNC(insn_emit_tfm); |
49 | 48 |
50 // register list | 49 // register list |
51 extern PARSEFUNC(insn_parse_rlist); | 50 PARSEFUNC(insn_parse_rlist); |
52 #define insn_resolve_rlist NULL | 51 #define insn_resolve_rlist NULL |
53 extern EMITFUNC(insn_emit_rlist); | 52 EMITFUNC(insn_emit_rlist); |
54 | 53 |
55 // indexed | 54 // indexed |
56 extern PARSEFUNC(insn_parse_indexed); | 55 PARSEFUNC(insn_parse_indexed); |
57 extern RESOLVEFUNC(insn_resolve_indexed); | 56 RESOLVEFUNC(insn_resolve_indexed); |
58 extern EMITFUNC(insn_emit_indexed); | 57 EMITFUNC(insn_emit_indexed); |
59 | 58 |
60 // generic 32 bit immediate | 59 // generic 32 bit immediate |
61 extern PARSEFUNC(insn_parse_gen32); | 60 PARSEFUNC(insn_parse_gen32); |
62 extern RESOLVEFUNC(insn_resolve_gen32); | 61 RESOLVEFUNC(insn_resolve_gen32); |
63 extern EMITFUNC(insn_emit_gen32); | 62 EMITFUNC(insn_emit_gen32); |
64 | 63 |
65 // generic 16 bit immediate | 64 // generic 16 bit immediate |
66 extern PARSEFUNC(insn_parse_gen16); | 65 PARSEFUNC(insn_parse_gen16); |
67 extern RESOLVEFUNC(insn_resolve_gen16); | 66 RESOLVEFUNC(insn_resolve_gen16); |
68 extern EMITFUNC(insn_emit_gen16); | 67 EMITFUNC(insn_emit_gen16); |
69 | 68 |
70 // generic 8 bit immediate | 69 // generic 8 bit immediate |
71 extern PARSEFUNC(insn_parse_gen8); | 70 PARSEFUNC(insn_parse_gen8); |
72 extern RESOLVEFUNC(insn_resolve_gen8); | 71 RESOLVEFUNC(insn_resolve_gen8); |
73 extern EMITFUNC(insn_emit_gen8); | 72 EMITFUNC(insn_emit_gen8); |
74 | 73 |
75 // generic no immediate | 74 // generic no immediate |
76 extern PARSEFUNC(insn_parse_gen0); | 75 PARSEFUNC(insn_parse_gen0); |
77 extern RESOLVEFUNC(insn_resolve_gen0); | 76 RESOLVEFUNC(insn_resolve_gen0); |
78 extern EMITFUNC(insn_emit_gen0); | 77 EMITFUNC(insn_emit_gen0); |
79 | 78 |
80 // logic memory | 79 // logic memory |
81 extern PARSEFUNC(insn_parse_logicmem); | 80 PARSEFUNC(insn_parse_logicmem); |
82 extern RESOLVEFUNC(insn_resolve_logicmem); | 81 RESOLVEFUNC(insn_resolve_logicmem); |
83 extern EMITFUNC(insn_emit_logicmem); | 82 EMITFUNC(insn_emit_logicmem); |
84 | 83 |
85 // 8 bit immediate only | 84 // 8 bit immediate only |
86 extern PARSEFUNC(insn_parse_imm8); | 85 PARSEFUNC(insn_parse_imm8); |
87 #define insn_resolve_imm8 NULL | 86 #define insn_resolve_imm8 NULL |
88 extern EMITFUNC(insn_emit_imm8); | 87 EMITFUNC(insn_emit_imm8); |
89 | 88 |
90 // bit to bit ops | 89 // bit to bit ops |
91 extern PARSEFUNC(insn_parse_bitbit); | 90 PARSEFUNC(insn_parse_bitbit); |
92 #define insn_resolve_bitbit NULL | 91 #define insn_resolve_bitbit NULL |
93 extern EMITFUNC(insn_emit_bitbit); | 92 EMITFUNC(insn_emit_bitbit); |
94 | 93 |
95 // 8 bit relative | 94 // 8 bit relative |
96 extern PARSEFUNC(insn_parse_rel8); | 95 PARSEFUNC(insn_parse_rel8); |
97 #define insn_resolve_rel8 NULL | 96 #define insn_resolve_rel8 NULL |
98 extern EMITFUNC(insn_emit_rel8); | 97 EMITFUNC(insn_emit_rel8); |
99 | 98 |
100 // 16 bit relative | 99 // 16 bit relative |
101 extern PARSEFUNC(insn_parse_rel16); | 100 PARSEFUNC(insn_parse_rel16); |
102 #define insn_resolve_rel16 NULL | 101 #define insn_resolve_rel16 NULL |
103 extern EMITFUNC(insn_emit_rel16); | 102 EMITFUNC(insn_emit_rel16); |
104 | 103 |
105 // generic 8/16 bit relative | 104 // generic 8/16 bit relative |
106 extern PARSEFUNC(insn_parse_relgen); | 105 PARSEFUNC(insn_parse_relgen); |
107 extern RESOLVEFUNC(insn_resolve_relgen); | 106 RESOLVEFUNC(insn_resolve_relgen); |
108 extern EMITFUNC(insn_emit_relgen); | 107 EMITFUNC(insn_emit_relgen); |
109 | 108 |
110 // MACRO pseudo op | 109 // MACRO pseudo op |
111 extern PARSEFUNC(pseudo_parse_macro); | 110 PARSEFUNC(pseudo_parse_macro); |
112 #define pseudo_resolve_macro NULL | 111 #define pseudo_resolve_macro NULL |
113 #define pseudo_emit_macro NULL | 112 #define pseudo_emit_macro NULL |
114 | 113 |
115 // ENDM pseudo op | 114 // ENDM pseudo op |
116 extern PARSEFUNC(pseudo_parse_endm); | 115 PARSEFUNC(pseudo_parse_endm); |
117 #define pseudo_resolve_endm NULL | 116 #define pseudo_resolve_endm NULL |
118 #define pseudo_emit_endm NULL | 117 #define pseudo_emit_endm NULL |
119 | 118 |
120 #define pseudo_parse_noop NULL | 119 #define pseudo_parse_noop NULL |
121 #define pseudo_resolve_noop NULL | 120 #define pseudo_resolve_noop NULL |
122 #define pseudo_emit_noop NULL | 121 #define pseudo_emit_noop NULL |
123 | 122 |
124 extern PARSEFUNC(pseudo_parse_dts); | 123 PARSEFUNC(pseudo_parse_dts); |
125 #define pseudo_resolve_dts NULL | 124 #define pseudo_resolve_dts NULL |
126 extern EMITFUNC(pseudo_emit_dts); | 125 EMITFUNC(pseudo_emit_dts); |
127 | 126 |
128 extern PARSEFUNC(pseudo_parse_dtb); | 127 PARSEFUNC(pseudo_parse_dtb); |
129 #define pseudo_resolve_dtb NULL | 128 #define pseudo_resolve_dtb NULL |
130 extern EMITFUNC(pseudo_emit_dtb); | 129 EMITFUNC(pseudo_emit_dtb); |
131 | 130 |
132 extern PARSEFUNC(pseudo_parse_end); | 131 PARSEFUNC(pseudo_parse_end); |
133 #define pseudo_resolve_end NULL | 132 #define pseudo_resolve_end NULL |
134 extern EMITFUNC(pseudo_emit_end); | 133 EMITFUNC(pseudo_emit_end); |
135 | 134 |
136 extern PARSEFUNC(pseudo_parse_fcb); | 135 PARSEFUNC(pseudo_parse_fcb); |
137 #define pseudo_resolve_fcb NULL | 136 #define pseudo_resolve_fcb NULL |
138 extern EMITFUNC(pseudo_emit_fcb); | 137 EMITFUNC(pseudo_emit_fcb); |
139 | 138 |
140 extern PARSEFUNC(pseudo_parse_fdb); | 139 PARSEFUNC(pseudo_parse_fdb); |
141 #define pseudo_resolve_fdb NULL | 140 #define pseudo_resolve_fdb NULL |
142 extern EMITFUNC(pseudo_emit_fdb); | 141 EMITFUNC(pseudo_emit_fdb); |
143 | 142 |
144 extern PARSEFUNC(pseudo_parse_fdbs); | 143 PARSEFUNC(pseudo_parse_fdbs); |
145 #define pseudo_resolve_fdbs NULL | 144 #define pseudo_resolve_fdbs NULL |
146 extern EMITFUNC(pseudo_emit_fdbs); | 145 EMITFUNC(pseudo_emit_fdbs); |
147 | 146 |
148 extern PARSEFUNC(pseudo_parse_fqb); | 147 PARSEFUNC(pseudo_parse_fqb); |
149 #define pseudo_resolve_fqb NULL | 148 #define pseudo_resolve_fqb NULL |
150 extern EMITFUNC(pseudo_emit_fqb); | 149 EMITFUNC(pseudo_emit_fqb); |
151 | 150 |
152 extern PARSEFUNC(pseudo_parse_fcc); | 151 PARSEFUNC(pseudo_parse_fcc); |
153 #define pseudo_resolve_fcc NULL | 152 #define pseudo_resolve_fcc NULL |
154 extern EMITFUNC(pseudo_emit_fcc); | 153 EMITFUNC(pseudo_emit_fcc); |
155 | 154 |
156 extern PARSEFUNC(pseudo_parse_fcs); | 155 PARSEFUNC(pseudo_parse_fcs); |
157 #define pseudo_resolve_fcs NULL | 156 #define pseudo_resolve_fcs NULL |
158 extern EMITFUNC(pseudo_emit_fcs); | 157 EMITFUNC(pseudo_emit_fcs); |
159 | 158 |
160 extern PARSEFUNC(pseudo_parse_fcn); | 159 PARSEFUNC(pseudo_parse_fcn); |
161 #define pseudo_resolve_fcn NULL | 160 #define pseudo_resolve_fcn NULL |
162 extern EMITFUNC(pseudo_emit_fcn); | 161 EMITFUNC(pseudo_emit_fcn); |
163 | 162 |
164 extern PARSEFUNC(pseudo_parse_rmb); | 163 PARSEFUNC(pseudo_parse_rmb); |
165 extern RESOLVEFUNC(pseudo_resolve_rmb); | 164 RESOLVEFUNC(pseudo_resolve_rmb); |
166 extern EMITFUNC(pseudo_emit_rmb); | 165 EMITFUNC(pseudo_emit_rmb); |
167 | 166 |
168 extern PARSEFUNC(pseudo_parse_rmd); | 167 PARSEFUNC(pseudo_parse_rmd); |
169 extern RESOLVEFUNC(pseudo_resolve_rmd); | 168 RESOLVEFUNC(pseudo_resolve_rmd); |
170 extern EMITFUNC(pseudo_emit_rmd); | 169 EMITFUNC(pseudo_emit_rmd); |
171 | 170 |
172 extern PARSEFUNC(pseudo_parse_rmq); | 171 PARSEFUNC(pseudo_parse_rmq); |
173 extern RESOLVEFUNC(pseudo_resolve_rmq); | 172 RESOLVEFUNC(pseudo_resolve_rmq); |
174 extern EMITFUNC(pseudo_emit_rmq); | 173 EMITFUNC(pseudo_emit_rmq); |
175 | 174 |
176 extern PARSEFUNC(pseudo_parse_zmb); | 175 PARSEFUNC(pseudo_parse_zmb); |
177 extern RESOLVEFUNC(pseudo_resolve_zmb); | 176 RESOLVEFUNC(pseudo_resolve_zmb); |
178 extern EMITFUNC(pseudo_emit_zmb); | 177 EMITFUNC(pseudo_emit_zmb); |
179 | 178 |
180 extern PARSEFUNC(pseudo_parse_zmd); | 179 PARSEFUNC(pseudo_parse_zmd); |
181 extern RESOLVEFUNC(pseudo_resolve_zmd); | 180 RESOLVEFUNC(pseudo_resolve_zmd); |
182 extern EMITFUNC(pseudo_emit_zmd); | 181 EMITFUNC(pseudo_emit_zmd); |
183 | 182 |
184 extern PARSEFUNC(pseudo_parse_zmq); | 183 PARSEFUNC(pseudo_parse_zmq); |
185 extern RESOLVEFUNC(pseudo_resolve_zmq); | 184 RESOLVEFUNC(pseudo_resolve_zmq); |
186 extern EMITFUNC(pseudo_emit_zmq); | 185 EMITFUNC(pseudo_emit_zmq); |
187 | 186 |
188 extern PARSEFUNC(pseudo_parse_org); | 187 PARSEFUNC(pseudo_parse_org); |
189 #define pseudo_resolve_org NULL | 188 #define pseudo_resolve_org NULL |
190 #define pseudo_emit_org NULL | 189 #define pseudo_emit_org NULL |
191 | 190 |
192 extern PARSEFUNC(pseudo_parse_equ); | 191 PARSEFUNC(pseudo_parse_equ); |
193 #define pseudo_resolve_equ NULL | 192 #define pseudo_resolve_equ NULL |
194 #define pseudo_emit_equ NULL | 193 #define pseudo_emit_equ NULL |
195 | 194 |
196 extern PARSEFUNC(pseudo_parse_set); | 195 PARSEFUNC(pseudo_parse_set); |
197 #define pseudo_resolve_set NULL | 196 #define pseudo_resolve_set NULL |
198 #define pseudo_emit_set NULL | 197 #define pseudo_emit_set NULL |
199 | 198 |
200 extern PARSEFUNC(pseudo_parse_setdp); | 199 PARSEFUNC(pseudo_parse_setdp); |
201 #define pseudo_resolve_setdp NULL | 200 #define pseudo_resolve_setdp NULL |
202 #define pseudo_emit_setdp NULL | 201 #define pseudo_emit_setdp NULL |
203 | 202 |
204 extern PARSEFUNC(pseudo_parse_ifp1); | 203 PARSEFUNC(pseudo_parse_ifp1); |
205 #define pseudo_resolve_ifp1 NULL | 204 #define pseudo_resolve_ifp1 NULL |
206 #define pseudo_emit_ifp1 NULL | 205 #define pseudo_emit_ifp1 NULL |
207 | 206 |
208 extern PARSEFUNC(pseudo_parse_ifp2); | 207 PARSEFUNC(pseudo_parse_ifp2); |
209 #define pseudo_resolve_ifp2 NULL | 208 #define pseudo_resolve_ifp2 NULL |
210 #define pseudo_emit_ifp2 NULL | 209 #define pseudo_emit_ifp2 NULL |
211 | 210 |
212 extern PARSEFUNC(pseudo_parse_ifne); | 211 PARSEFUNC(pseudo_parse_ifne); |
213 #define pseudo_resolve_ifne NULL | 212 #define pseudo_resolve_ifne NULL |
214 #define pseudo_emit_ifne NULL | 213 #define pseudo_emit_ifne NULL |
215 | 214 |
216 extern PARSEFUNC(pseudo_parse_ifeq); | 215 PARSEFUNC(pseudo_parse_ifeq); |
217 #define pseudo_resolve_ifeq NULL | 216 #define pseudo_resolve_ifeq NULL |
218 #define pseudo_emit_ifeq NULL | 217 #define pseudo_emit_ifeq NULL |
219 | 218 |
220 extern PARSEFUNC(pseudo_parse_iflt); | 219 PARSEFUNC(pseudo_parse_iflt); |
221 #define pseudo_resolve_iflt NULL | 220 #define pseudo_resolve_iflt NULL |
222 #define pseudo_emit_iflt NULL | 221 #define pseudo_emit_iflt NULL |
223 | 222 |
224 extern PARSEFUNC(pseudo_parse_ifle); | 223 PARSEFUNC(pseudo_parse_ifle); |
225 #define pseudo_resolve_ifle NULL | 224 #define pseudo_resolve_ifle NULL |
226 #define pseudo_emit_ifle NULL | 225 #define pseudo_emit_ifle NULL |
227 | 226 |
228 extern PARSEFUNC(pseudo_parse_ifgt); | 227 PARSEFUNC(pseudo_parse_ifgt); |
229 #define pseudo_resolve_ifgt NULL | 228 #define pseudo_resolve_ifgt NULL |
230 #define pseudo_emit_ifgt NULL | 229 #define pseudo_emit_ifgt NULL |
231 | 230 |
232 extern PARSEFUNC(pseudo_parse_ifge); | 231 PARSEFUNC(pseudo_parse_ifge); |
233 #define pseudo_resolve_ifge NULL | 232 #define pseudo_resolve_ifge NULL |
234 #define pseudo_emit_ifge NULL | 233 #define pseudo_emit_ifge NULL |
235 | 234 |
236 extern PARSEFUNC(pseudo_parse_ifdef); | 235 PARSEFUNC(pseudo_parse_ifdef); |
237 #define pseudo_resolve_ifdef NULL | 236 #define pseudo_resolve_ifdef NULL |
238 #define pseudo_emit_ifdef NULL | 237 #define pseudo_emit_ifdef NULL |
239 | 238 |
240 extern PARSEFUNC(pseudo_parse_ifndef); | 239 PARSEFUNC(pseudo_parse_ifndef); |
241 #define pseudo_resolve_ifndef NULL | 240 #define pseudo_resolve_ifndef NULL |
242 #define pseudo_emit_ifndef NULL | 241 #define pseudo_emit_ifndef NULL |
243 | 242 |
244 extern PARSEFUNC(pseudo_parse_ifstr); | 243 PARSEFUNC(pseudo_parse_ifstr); |
245 #define pseudo_resolve_ifstr NULL | 244 #define pseudo_resolve_ifstr NULL |
246 #define pseudo_emit_ifstr NULL | 245 #define pseudo_emit_ifstr NULL |
247 | 246 |
248 extern PARSEFUNC(pseudo_parse_endc); | 247 PARSEFUNC(pseudo_parse_endc); |
249 #define pseudo_resolve_endc NULL | 248 #define pseudo_resolve_endc NULL |
250 #define pseudo_emit_endc NULL | 249 #define pseudo_emit_endc NULL |
251 | 250 |
252 extern PARSEFUNC(pseudo_parse_else); | 251 PARSEFUNC(pseudo_parse_else); |
253 #define pseudo_resolve_else NULL | 252 #define pseudo_resolve_else NULL |
254 #define pseudo_emit_else NULL | 253 #define pseudo_emit_else NULL |
255 | 254 |
256 extern PARSEFUNC(pseudo_parse_pragma); | 255 PARSEFUNC(pseudo_parse_pragma); |
257 #define pseudo_resolve_pragma NULL | 256 #define pseudo_resolve_pragma NULL |
258 #define pseudo_emit_pragma NULL | 257 #define pseudo_emit_pragma NULL |
259 | 258 |
260 extern PARSEFUNC(pseudo_parse_starpragma); | 259 PARSEFUNC(pseudo_parse_starpragma); |
261 #define pseudo_resolve_starpragma NULL | 260 #define pseudo_resolve_starpragma NULL |
262 #define pseudo_emit_starpragma NULL | 261 #define pseudo_emit_starpragma NULL |
263 | 262 |
264 extern PARSEFUNC(pseudo_parse_starpragmapush); | 263 PARSEFUNC(pseudo_parse_starpragmapush); |
265 #define pseudo_resolve_starpragmapush NULL | 264 #define pseudo_resolve_starpragmapush NULL |
266 #define pseudo_emit_starpragmapush NULL | 265 #define pseudo_emit_starpragmapush NULL |
267 | 266 |
268 extern PARSEFUNC(pseudo_parse_starpragmapop); | 267 PARSEFUNC(pseudo_parse_starpragmapop); |
269 #define pseudo_resolve_starpragmapop NULL | 268 #define pseudo_resolve_starpragmapop NULL |
270 #define pseudo_emit_starpragmapop NULL | 269 #define pseudo_emit_starpragmapop NULL |
271 | 270 |
272 extern PARSEFUNC(pseudo_parse_section); | 271 PARSEFUNC(pseudo_parse_section); |
273 #define pseudo_resolve_section NULL | 272 #define pseudo_resolve_section NULL |
274 #define pseudo_emit_section NULL | 273 #define pseudo_emit_section NULL |
275 | 274 |
276 extern PARSEFUNC(pseudo_parse_endsection); | 275 PARSEFUNC(pseudo_parse_endsection); |
277 #define pseudo_resolve_endsection NULL | 276 #define pseudo_resolve_endsection NULL |
278 #define pseudo_emit_endsection NULL | 277 #define pseudo_emit_endsection NULL |
279 | 278 |
280 extern PARSEFUNC(pseudo_parse_error); | 279 PARSEFUNC(pseudo_parse_error); |
281 #define pseudo_resolve_error NULL | 280 #define pseudo_resolve_error NULL |
282 #define pseudo_emit_error NULL | 281 #define pseudo_emit_error NULL |
283 | 282 |
284 extern PARSEFUNC(pseudo_parse_warning); | 283 PARSEFUNC(pseudo_parse_warning); |
285 #define pseudo_resolve_warning NULL | 284 #define pseudo_resolve_warning NULL |
286 #define pseudo_emit_warning NULL | 285 #define pseudo_emit_warning NULL |
287 | 286 |
288 extern PARSEFUNC(pseudo_parse_os9); | 287 PARSEFUNC(pseudo_parse_os9); |
289 #define pseudo_resolve_os9 NULL | 288 #define pseudo_resolve_os9 NULL |
290 extern EMITFUNC(pseudo_emit_os9); | 289 EMITFUNC(pseudo_emit_os9); |
291 | 290 |
292 extern PARSEFUNC(pseudo_parse_mod); | 291 PARSEFUNC(pseudo_parse_mod); |
293 #define pseudo_resolve_mod NULL | 292 #define pseudo_resolve_mod NULL |
294 extern EMITFUNC(pseudo_emit_mod); | 293 EMITFUNC(pseudo_emit_mod); |
295 | 294 |
296 extern PARSEFUNC(pseudo_parse_emod); | 295 PARSEFUNC(pseudo_parse_emod); |
297 #define pseudo_resolve_emod NULL | 296 #define pseudo_resolve_emod NULL |
298 extern EMITFUNC(pseudo_emit_emod); | 297 EMITFUNC(pseudo_emit_emod); |
299 | 298 |
300 extern PARSEFUNC(pseudo_parse_extdep); | 299 PARSEFUNC(pseudo_parse_extdep); |
301 #define pseudo_resolve_extdep NULL | 300 #define pseudo_resolve_extdep NULL |
302 #define pseudo_emit_extdep NULL | 301 #define pseudo_emit_extdep NULL |
303 | 302 |
304 extern PARSEFUNC(pseudo_parse_extern); | 303 PARSEFUNC(pseudo_parse_extern); |
305 #define pseudo_resolve_extern NULL | 304 #define pseudo_resolve_extern NULL |
306 #define pseudo_emit_extern NULL | 305 #define pseudo_emit_extern NULL |
307 | 306 |
308 extern PARSEFUNC(pseudo_parse_export); | 307 PARSEFUNC(pseudo_parse_export); |
309 #define pseudo_resolve_export NULL | 308 #define pseudo_resolve_export NULL |
310 #define pseudo_emit_export NULL | 309 #define pseudo_emit_export NULL |
311 | 310 |
312 extern PARSEFUNC(pseudo_parse_includebin); | 311 PARSEFUNC(pseudo_parse_includebin); |
313 #define pseudo_resolve_includebin NULL | 312 #define pseudo_resolve_includebin NULL |
314 extern EMITFUNC(pseudo_emit_includebin); | 313 EMITFUNC(pseudo_emit_includebin); |
315 | 314 |
316 extern PARSEFUNC(pseudo_parse_include); | 315 PARSEFUNC(pseudo_parse_include); |
317 #define pseudo_resolve_include NULL | 316 #define pseudo_resolve_include NULL |
318 #define pseudo_emit_include NULL | 317 #define pseudo_emit_include NULL |
319 | 318 |
320 extern PARSEFUNC(pseudo_parse_align); | 319 PARSEFUNC(pseudo_parse_align); |
321 extern RESOLVEFUNC(pseudo_resolve_align); | 320 RESOLVEFUNC(pseudo_resolve_align); |
322 extern EMITFUNC(pseudo_emit_align); | 321 EMITFUNC(pseudo_emit_align); |
323 | 322 |
324 extern PARSEFUNC(pseudo_parse_fill); | 323 PARSEFUNC(pseudo_parse_fill); |
325 extern RESOLVEFUNC(pseudo_resolve_fill); | 324 RESOLVEFUNC(pseudo_resolve_fill); |
326 extern EMITFUNC(pseudo_emit_fill); | 325 EMITFUNC(pseudo_emit_fill); |
327 | 326 |
328 extern PARSEFUNC(pseudo_parse_struct); | 327 PARSEFUNC(pseudo_parse_struct); |
329 #define pseudo_resolve_struct NULL | 328 #define pseudo_resolve_struct NULL |
330 #define pseudo_emit_struct NULL | 329 #define pseudo_emit_struct NULL |
331 | 330 |
332 extern PARSEFUNC(pseudo_parse_endstruct); | 331 PARSEFUNC(pseudo_parse_endstruct); |
333 #define pseudo_resolve_endstruct NULL | 332 #define pseudo_resolve_endstruct NULL |
334 #define pseudo_emit_endstruct NULL | 333 #define pseudo_emit_endstruct NULL |
335 | 334 |
336 instab_t instab[] = | 335 instab_t instab[] = |
337 { | 336 { |