flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Preprocessor behaviour (bug?) |
Author |
|
vid 11 Jul 2007, 01:35
looks like nice catch
|
|||
11 Jul 2007, 01:35 |
|
cepers 23 Jul 2007, 21:40
ehhhmm....
|
|||
23 Jul 2007, 21:40 |
|
LocoDelAssembly 23 Jul 2007, 21:59
haha, thanks to cepers I remember that I forgot to tell that it actually happens with all the preprocessor directives. In the case of "common", "reverse" and "forward" it works well but if you call a macro with any of those names inside a macro the preprocessor will not call the macro but will interpret it as directive instead.
|
|||
23 Jul 2007, 21:59 |
|
LocoDelAssembly 09 Jul 2008, 15:09
bump
|
|||
09 Jul 2008, 15:09 |
|
revolution 09 Jul 2008, 16:25
Is this really a bug? It seems that if someone tries really hard to completely confuse themselves by doing this then they deserve all they get. This seems more like a way of winning an obfuscation contest than writing real code.
|
|||
09 Jul 2008, 16:25 |
|
Tomasz Grysztar 09 Jul 2008, 16:26
Is fixed for 1.67.28.
I'm un-stickying the threads with bug reports that already have resolved (even though the new version is not released yet). This helps me trace what is left to do, please do not make them sticky back. |
|||
09 Jul 2008, 16:26 |
|
LocoDelAssembly 09 Jul 2008, 22:05
Quote:
Sorry for asking but, what are the news for the 1.67.27 version then? Quote:
Good method But note that I haven't make it sticky and I believe that it wasn't sticky when I bumped it. I had made sticky only the REPT bug. |
|||
09 Jul 2008, 22:05 |
|
Tomasz Grysztar 09 Jul 2008, 22:29
LocoDelAssembly wrote:
Ooops. I guess I forgot to release it. |
|||
09 Jul 2008, 22:29 |
|
Tomasz Grysztar 10 Jul 2008, 07:31
OK, I will rename it back to 1.67.27 then.
|
|||
10 Jul 2008, 07:31 |
|
DOS386 11 Jul 2008, 08:04
Tomasz Grysztar wrote:
COOL Please look at the other BUG's: FASMD page fault, $0200-MZ bug (trivial) also _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
11 Jul 2008, 08:04 |
|
Tomasz Grysztar 08 Nov 2008, 14:11
I just realized it was not really so good idea to disallow using names of preprocessor's directives in ALL cases of defining preprocessor's symbols, because this way it included the FIX directive. This example from fasm's documentation:
Code: macro tmacro [params] { common macro params { } MACRO fix tmacro ENDM fix } |
|||
08 Nov 2008, 14:11 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.