flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > determine if macro-argument is string during preprocessing |
Author |
|
vid 15 Dec 2005, 02:43
is this possible somehow? I can't find any solution.
|
|||
15 Dec 2005, 02:43 |
|
vid 15 Dec 2005, 11:27
no, there is type string constant - one enclosed in "" and ''. This is one i would like to determine
|
|||
15 Dec 2005, 11:27 |
|
revolution 15 Dec 2005, 12:44
Code: if parameter eqtype "" |
|||
15 Dec 2005, 12:44 |
|
Tomasz Grysztar 15 Dec 2005, 13:36
No, you cannot determine that at preprocessor stage. With "match" you can only check for the literally the same quoted string.
|
|||
15 Dec 2005, 13:36 |
|
vid 15 Dec 2005, 22:05
too bad, more overhead for assembler then.
This would be also solved with parse-time evalutating of predicatable ifs (if 'aaaa' eqtyoe ''). Have you already been planning something more this way? |
|||
15 Dec 2005, 22:05 |
|
Tomasz Grysztar 15 Dec 2005, 22:14
I've been planning it, however only partial solution is possible - that is, replacing the <if 'aaaa' eqtype ''> with <if 1> during the parsing, etc.
|
|||
15 Dec 2005, 22:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.