flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > So which one gets purged? macro or struc?

Author
Thread Post new topic Reply to topic
MCD



Joined: 21 Aug 2004
Posts: 604
Location: Germany
MCD
Consider the following macroinstruction and structure defininations of the same names:
Code:
foo macro {}
foo struc {}
    


Well, at some later point in the code, you purge foo like this:
Code:
purge foo
    


My question is now: Which one gets purged? the macro or structure? Is this related to the order they were defined or are structures and macros always treated appart? Or has any a higher purging-priority?

I think I read something like it depends on the order they were defined in the fasm docs. Or maybe I'm just confused.

Has anyone seen my brain today?

_________________
MCD - the inevitable return of the Mad Computer Doggy

-||__/
.|+-~
.|| ||
Post 11 Jul 2005, 12:53
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7495
Location: Kraków, Poland
Tomasz Grysztar
The "purge" is solely for macros. For structures there is the "restruc" analoguous to "purge" (see the manual, many important additions were added recently mainly to the chapter about preprocessor; also the [new] second paragraph of section 1.2.1 is important when we talk about preprocessor's features). Wink
Post 11 Jul 2005, 13:13
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.