flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 12 Jul 2007, 23:28
if you are using them only in few macros, then you can define and undefine them inside macro which uses them:
(code not tested) Code: macro define_private { macro private \{ ... \} } macro something1 { define_private ... purge private } macro something2 { define_private ... purge private } something1 ;works something2 ;works private ;causes error |
|||
![]() |
|
LocoDelAssembly 12 Jul 2007, 23:48
Not only are not few but them also define many sub macroses and others preprocessor constructs (there are things like "\\\\\{" already).
Another things that doesn't work are Code: macro private { local priv macro fix macro priv } Code: macro private { local priv macro fix macro priv# } The latter because unfortunatelly the # is not available outside macroses (but even if it were working the resulting name would be "privname" and not "priv?XXXXXXXXname" ![]() Thanks for the idea anyway. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.