diff lwasm/instab.c @ 225:058f18119025

Fixed filename parsing bug in include directive and added includebin directive
author lost
date Thu, 11 Jun 2009 23:29:15 +0000
parents bae1e3ecdce1
children 560843a951f7
line wrap: on
line diff
--- a/lwasm/instab.c	Thu Jun 11 23:12:31 2009 +0000
+++ b/lwasm/instab.c	Thu Jun 11 23:29:15 2009 +0000
@@ -80,6 +80,7 @@
 extern OPFUNC(pseudo_ifdef);
 extern OPFUNC(pseudo_ifndef);
 extern OPFUNC(pseudo_noop);
+extern OPFUNC(pseudo_includebin);
 
 instab_t instab[] =
 {
@@ -351,6 +352,7 @@
 
 	{ "end", 	{ -1, -1, -1, -1 }, pseudo_end },
 
+	{ "includebin", { -1, -1, -1, -1}, pseudo_includebin },
 	{ "include", { -1, -1, -1, -1 }, pseudo_include },
 	
 	{ "align", { -1, -1, -1, -1 },	pseudo_align },