flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > [fasmg] macro parameter grouping |
Author |
|
Tomasz Grysztar 21 May 2019, 17:55
Yes, it's ITERATE that strips them. The outer ones are stripped by DisplayList macro call, the inner ones are stripped by ITERATE. A greedy argument (one followed by "&") is a way to avoid stripping.
|
|||
21 May 2019, 17:55 |
|
bitRAKE 21 May 2019, 18:15
I was wrong the "&" and <> causes the individual items not to be processed by ITERATE. (Hence the commas in the output.) If iterate always strips the inner <> then I'll need to find another way.
_________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
21 May 2019, 18:15 |
|
Tomasz Grysztar 22 May 2019, 08:29
Yeah, once you're out of fasm 1 syntax territory, manual processing with looped MATCH is most likely the only way to go (obviously slow). I've been considering various kinds of directives that could help with specific cases or perhaps make my bracket balancing macros obsolete, but I still did not find that perfect design that I would like.
|
|||
22 May 2019, 08:29 |
|
bitRAKE 23 May 2019, 00:42
I can modify my approach to use what is available.
That thread is quite helpful thank you. _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
23 May 2019, 00:42 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.