flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > "\" and comments ";"

Author
Thread Post new topic Reply to topic
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan 20 Sep 2006, 20:13
Hello to everyone! And great respect to Privalov!
Some time ago i moved from masm to fasm and felt a great enjoyment). I love it - FASM!
i found some strange behaviour of such code
Code:
directory       RT_DIALOG, dialogs,\
                RT_GROUP_ICON, group_icons,\
;some comment
                RT_ICON, icons
    

is it normal? i think fasm should skip comments totally and not report an error...?
Great Respect to Creator!

_________________
Any offers?
Post 20 Sep 2006, 20:13
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 20 Sep 2006, 21:05
yes, it was already discussed... few times. line containing only comment is equivalent to empty line, not no line. i believe there was some problem with replacing it with no line...

so you must preped comment with "\"

privalov: this surely belong to FAQ we discussed too...
Post 20 Sep 2006, 21:05
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
asmfan



Joined: 11 Aug 2006
Posts: 392
Location: Russian
asmfan 21 Sep 2006, 19:07
thanks, Vid!
will know it now for sure.
Post 21 Sep 2006, 19:07
View user's profile Send private message 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.