Pb matching trailing part of symbol starting with a dot '.'
Pls help little noobie struggling with fasm (not fasmg) macros...
Am having hard time trying to build macro to parse symbol starting with dot ('.') :
basically i wud like to pass param such as : .somelabel (note the leading dot .),
to some macro and strip out the leading dot internally to keep only the trailing part,
i.e. only 'somelabel'.
Can't find a way around this.
Joined: 16 Jun 2003
Location: Kraków, Poland
Because "." is not treated as a special character by fasm 1 and the preprocessor does not have an ability to split or alter the name tokens, it is not possible. It is one of the limitations that led to the design of the successor engine (fasmg).
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