flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Structure redefinition |
Author |
|
Tomasz Grysztar 02 Dec 2003, 09:10
Why do you think it should be allowed? You have redefined it, and there is no .c in the new version of your structure.
|
|||
02 Dec 2003, 09:10 |
|
BiDark 02 Dec 2003, 09:41
I mean, I don't know about how redefinition works, In Masm it does error (when define with difference member set). so Masm is more restricted.
Would be nice if Fasm is restricting doing this (becuase of each include files may have the same name with difference set of members and user don't know) Oh my eng. |
|||
02 Dec 2003, 09:41 |
|
Tomasz Grysztar 02 Dec 2003, 11:32
Many of fasm's macro tricks are based on the feature of redefinition, which is allowed for all kinds of macros (so struct macros too) and symbolic constants. So such restriction would just bring down all the power of fasm's macro system.
But, on the other hand, you can also utilize that power to achieve what you need - you can define macros for structure definitions (like the ones I have posted here some time ago) and build such restriction into them. |
|||
02 Dec 2003, 11:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.