flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [fasmg] struc ? and struc name |
Author |
|
Tomasz Grysztar 02 Jun 2017, 12:18
You have POINT expression-class symbol defined as a symbolic variable with empty text. So when you do:
Code: match type more, POINT: Code: match any, def: display ' - ',`__name__,0x20,`any,13,10 end match To match the text without performing replacements of symbolic variables you can use the old trick from fasm 1: Code: local proxy define proxy def: match type more, proxy PS. Just in case you thought that you could use RAWMATCH to do it without proxy: I would not recommend it, because it also discards any recognition context from the text it matches. RAWMATCH is not a shortcut for the above construction, it is only useful when you're interested in the text as-is and not the values of symbols that the text may represent. |
|||
02 Jun 2017, 12:18 |
|
zhak 02 Jun 2017, 12:42
Ah, that define thing. Thanks, Tomasz.
If I do Code: define name name could there be any problems? This seems to resolve the issue |
|||
02 Jun 2017, 12:42 |
|
Tomasz Grysztar 02 Jun 2017, 12:49
zhak wrote: Ah, that define thing. Thanks, Tomasz. |
|||
02 Jun 2017, 12:49 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.