Mercurial > hg > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
563:8c6c3363e18e | 564:87f904e2b304 |
---|---|
315 PARSEFUNC(pseudo_parse_export); | 315 PARSEFUNC(pseudo_parse_export); |
316 #define pseudo_resolve_export NULL | 316 #define pseudo_resolve_export NULL |
317 #define pseudo_emit_export NULL | 317 #define pseudo_emit_export NULL |
318 | 318 |
319 PARSEFUNC(pseudo_parse_includebin); | 319 PARSEFUNC(pseudo_parse_includebin); |
320 #define pseudo_resolve_includebin NULL | 320 RESOLVEFUNC(pseudo_resolve_includebin); |
321 EMITFUNC(pseudo_emit_includebin); | 321 EMITFUNC(pseudo_emit_includebin); |
322 | 322 |
323 PARSEFUNC(pseudo_parse_includestr); | 323 PARSEFUNC(pseudo_parse_includestr); |
324 #define pseudo_resolve_includestr NULL | 324 #define pseudo_resolve_includestr NULL |
325 #define pseudo_emit_includestr NULL | 325 #define pseudo_emit_includestr NULL |