Comments that end in \ will be interpreted as a multiline
comment in newer nasm's. This has been verified on
nasm 0.98.30 and did not occur with nasm 0.98. For
example, the following code will break with newer versions:
; comment here \
.somelabel
This may or may not be intentional, but it is unintuitive and
has broken existing code. I suggest removing multiline
comments.
Logged In: YES
user_id=58697
Current behaviour is consistent with the C/C++ preprocessor.
It's debatable whether or not it's the desired behaviour,
but it's not a high-priority issue.
Logged In: NO
Why not add a command line option, which controls whether or not line continuation is disabled or enabled?
Logged In: NO
it certainly isnt in my opinion
;\\ ----------------------------------------------------------- \\
; no ansi art anymore plz \\
;\\------------------------------------------------------------ \\
Logged In: NO
aa
Logged In: YES
user_id=765300
rr
Logged In: YES
user_id=804543
In my local forked version I have added a command line
option which can be used to disable line continuation.
Logged In: YES
user_id=2127992
Originator: NO
It's tempting to close this as wontfix, but I'll move it to Feature Requests just in case someone wants to pick it up.
Logged In: YES
user_id=58697
Originator: NO
For what it's worth, gcc issues a warning for //-style comments extended by ending the line in \