comparison lwasm/instab.c @ 186:1824cabf25ce

Various enhancements to lwasm
author lost@l-w.ca
date Thu, 22 Dec 2011 18:04:13 -0700
parents c45f23ae79e6
children 5330ba70836a
comparison
equal deleted inserted replaced
185:cca933d32298 186:1824cabf25ce
309 #define pseudo_emit_include NULL 309 #define pseudo_emit_include NULL
310 310
311 extern PARSEFUNC(pseudo_parse_align); 311 extern PARSEFUNC(pseudo_parse_align);
312 extern RESOLVEFUNC(pseudo_resolve_align); 312 extern RESOLVEFUNC(pseudo_resolve_align);
313 extern EMITFUNC(pseudo_emit_align); 313 extern EMITFUNC(pseudo_emit_align);
314
315 extern PARSEFUNC(pseudo_parse_fill);
316 extern RESOLVEFUNC(pseudo_resolve_fill);
317 extern EMITFUNC(pseudo_emit_fill);
314 318
315 extern PARSEFUNC(pseudo_parse_struct); 319 extern PARSEFUNC(pseudo_parse_struct);
316 #define pseudo_resolve_struct NULL 320 #define pseudo_resolve_struct NULL
317 #define pseudo_emit_struct NULL 321 #define pseudo_emit_struct NULL
318 322
611 { "includebin", { -1, -1, -1, -1}, pseudo_parse_includebin,pseudo_resolve_includebin, pseudo_emit_includebin, lwasm_insn_normal}, 615 { "includebin", { -1, -1, -1, -1}, pseudo_parse_includebin,pseudo_resolve_includebin, pseudo_emit_includebin, lwasm_insn_normal},
612 { "include", { -1, -1, -1, -1 }, pseudo_parse_include, pseudo_resolve_include, pseudo_emit_include, lwasm_insn_normal}, 616 { "include", { -1, -1, -1, -1 }, pseudo_parse_include, pseudo_resolve_include, pseudo_emit_include, lwasm_insn_normal},
613 { "use", { -1, -1, -1, -1 }, pseudo_parse_include, pseudo_resolve_include, pseudo_emit_include, lwasm_insn_normal}, 617 { "use", { -1, -1, -1, -1 }, pseudo_parse_include, pseudo_resolve_include, pseudo_emit_include, lwasm_insn_normal},
614 618
615 { "align", { -1, -1, -1, -1 }, pseudo_parse_align, pseudo_resolve_align, pseudo_emit_align, lwasm_insn_normal}, 619 { "align", { -1, -1, -1, -1 }, pseudo_parse_align, pseudo_resolve_align, pseudo_emit_align, lwasm_insn_normal},
620 { "fill", { -1, -1, -1, -1 }, pseudo_parse_fill, pseudo_resolve_fill, pseudo_emit_fill, lwasm_insn_normal},
616 621
617 { "error", { -1, -1, -1, -1}, pseudo_parse_error, pseudo_resolve_error, pseudo_emit_error, lwasm_insn_normal}, 622 { "error", { -1, -1, -1, -1}, pseudo_parse_error, pseudo_resolve_error, pseudo_emit_error, lwasm_insn_normal},
618 { "warning", { -1, -1, -1, -1}, pseudo_parse_warning, pseudo_resolve_warning, pseudo_emit_warning, lwasm_insn_normal}, 623 { "warning", { -1, -1, -1, -1}, pseudo_parse_warning, pseudo_resolve_warning, pseudo_emit_warning, lwasm_insn_normal},
619 624
620 // these are *dangerous* 625 // these are *dangerous*