diff lwasm/instab.c @ 564:87f904e2b304

Add offset and length operands (optional) to includebin This addition is based on a patch from Tim Lindner <tlindner@macmess.org>. While the original logic of the patch was not quite correct, the basic idea is. So with some edits to the logic, the feature goes in.
author William Astle <lost@l-w.ca>
date Thu, 21 Dec 2023 22:14:25 -0700
parents a584b9ddffc4
children
line wrap: on
line diff
--- a/lwasm/instab.c	Fri Dec 01 21:16:54 2023 -0700
+++ b/lwasm/instab.c	Thu Dec 21 22:14:25 2023 -0700
@@ -317,7 +317,7 @@
 #define pseudo_emit_export NULL
 
 PARSEFUNC(pseudo_parse_includebin);
-#define pseudo_resolve_includebin NULL
+RESOLVEFUNC(pseudo_resolve_includebin);
 EMITFUNC(pseudo_emit_includebin);
 
 PARSEFUNC(pseudo_parse_includestr);