diff 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
line wrap: on
line diff
--- a/lwasm/instab.c	Sat Aug 06 23:29:17 2011 -0600
+++ b/lwasm/instab.c	Sun Aug 07 00:58:00 2011 -0600
@@ -239,6 +239,14 @@
 #define pseudo_resolve_starpragma NULL
 #define pseudo_emit_starpragma NULL
 
+extern PARSEFUNC(pseudo_parse_starpragmapush);
+#define pseudo_resolve_starpragmapush NULL
+#define pseudo_emit_starpragmapush NULL
+
+extern PARSEFUNC(pseudo_parse_starpragmapop);
+#define pseudo_resolve_starpragmapop NULL
+#define pseudo_emit_starpragmapop NULL
+
 extern PARSEFUNC(pseudo_parse_section);
 #define pseudo_resolve_section NULL
 #define pseudo_emit_section NULL
@@ -634,6 +642,9 @@
 
 	{ "pragma",		{	-1, 	-1, 	-1, 	-1},	pseudo_parse_pragma,	pseudo_resolve_pragma,			pseudo_emit_pragma,			lwasm_insn_normal},
 	{ "*pragma",	{	-1, 	-1, 	-1, 	-1},	pseudo_parse_starpragma,pseudo_resolve_starpragma,		pseudo_emit_starpragma,		lwasm_insn_normal},
+	{ "*pragmapush",	{	-1,	-1, 	-1,	-1},	pseudo_parse_starpragmapush, pseudo_resolve_starpragmapush, pseudo_emit_starpragmapush,	lwasm_insn_normal},
+	{ "*pragmappop",	{	-1,	-1, 	-1,	-1},	pseudo_parse_starpragmapop, pseudo_resolve_starpragmapop, pseudo_emit_starpragmapop,	lwasm_insn_normal},
+	
 	
 	// for os9 target
 	{ "os9",		{	-1, 	-1, 	-1, 	-1 },	pseudo_parse_os9,		pseudo_resolve_os9,				pseudo_emit_os9,			lwasm_insn_normal},