Mercurial > hg > index.cgi
comparison lwasm/instab.c @ 108:9960e05cbe3a
Added *pragmapush and *pragmapop; still seems to be nonfunctional
author | lost@l-w.ca |
---|---|
date | Sun, 07 Aug 2011 00:58:00 -0600 |
parents | bad2ee25acdd |
children | 38c1537857ce |
comparison
equal
deleted
inserted
replaced
107:b3557f8325f7 | 108:9960e05cbe3a |
---|---|
236 #define pseudo_emit_pragma NULL | 236 #define pseudo_emit_pragma NULL |
237 | 237 |
238 extern PARSEFUNC(pseudo_parse_starpragma); | 238 extern PARSEFUNC(pseudo_parse_starpragma); |
239 #define pseudo_resolve_starpragma NULL | 239 #define pseudo_resolve_starpragma NULL |
240 #define pseudo_emit_starpragma NULL | 240 #define pseudo_emit_starpragma NULL |
241 | |
242 extern PARSEFUNC(pseudo_parse_starpragmapush); | |
243 #define pseudo_resolve_starpragmapush NULL | |
244 #define pseudo_emit_starpragmapush NULL | |
245 | |
246 extern PARSEFUNC(pseudo_parse_starpragmapop); | |
247 #define pseudo_resolve_starpragmapop NULL | |
248 #define pseudo_emit_starpragmapop NULL | |
241 | 249 |
242 extern PARSEFUNC(pseudo_parse_section); | 250 extern PARSEFUNC(pseudo_parse_section); |
243 #define pseudo_resolve_section NULL | 251 #define pseudo_resolve_section NULL |
244 #define pseudo_emit_section NULL | 252 #define pseudo_emit_section NULL |
245 | 253 |
632 { "endstruct", { -1, -1, -1, -1}, pseudo_parse_endstruct, pseudo_resolve_endstruct, pseudo_emit_endstruct, lwasm_insn_struct}, | 640 { "endstruct", { -1, -1, -1, -1}, pseudo_parse_endstruct, pseudo_resolve_endstruct, pseudo_emit_endstruct, lwasm_insn_struct}, |
633 | 641 |
634 | 642 |
635 { "pragma", { -1, -1, -1, -1}, pseudo_parse_pragma, pseudo_resolve_pragma, pseudo_emit_pragma, lwasm_insn_normal}, | 643 { "pragma", { -1, -1, -1, -1}, pseudo_parse_pragma, pseudo_resolve_pragma, pseudo_emit_pragma, lwasm_insn_normal}, |
636 { "*pragma", { -1, -1, -1, -1}, pseudo_parse_starpragma,pseudo_resolve_starpragma, pseudo_emit_starpragma, lwasm_insn_normal}, | 644 { "*pragma", { -1, -1, -1, -1}, pseudo_parse_starpragma,pseudo_resolve_starpragma, pseudo_emit_starpragma, lwasm_insn_normal}, |
645 { "*pragmapush", { -1, -1, -1, -1}, pseudo_parse_starpragmapush, pseudo_resolve_starpragmapush, pseudo_emit_starpragmapush, lwasm_insn_normal}, | |
646 { "*pragmappop", { -1, -1, -1, -1}, pseudo_parse_starpragmapop, pseudo_resolve_starpragmapop, pseudo_emit_starpragmapop, lwasm_insn_normal}, | |
647 | |
637 | 648 |
638 // for os9 target | 649 // for os9 target |
639 { "os9", { -1, -1, -1, -1 }, pseudo_parse_os9, pseudo_resolve_os9, pseudo_emit_os9, lwasm_insn_normal}, | 650 { "os9", { -1, -1, -1, -1 }, pseudo_parse_os9, pseudo_resolve_os9, pseudo_emit_os9, lwasm_insn_normal}, |
640 { "mod", { -1, -1, -1, -1 }, pseudo_parse_mod, pseudo_resolve_mod, pseudo_emit_mod, lwasm_insn_normal}, | 651 { "mod", { -1, -1, -1, -1 }, pseudo_parse_mod, pseudo_resolve_mod, pseudo_emit_mod, lwasm_insn_normal}, |
641 { "emod", { -1, -1, -1, -1 }, pseudo_parse_emod, pseudo_resolve_emod, pseudo_emit_emod, lwasm_insn_normal}, | 652 { "emod", { -1, -1, -1, -1 }, pseudo_parse_emod, pseudo_resolve_emod, pseudo_emit_emod, lwasm_insn_normal}, |