[Issue 474] in ASM block last line can't be a label
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 9 01:38:37 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=474
bugzilla at digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Comment #3 from bugzilla at digitalmars.com 2006-11-09 03:38 -------
This is the way it's supposed to work; a label is not a statement. To make it
compile, add an empty statement:
asm
{
jmp label1;
mov EBX,EAX;
label1:
; // <== add this
}
Labels outside of asm blocks work the same way.
Also, if there are separate issues, please list them as separate items in
bugzilla.
--
More information about the Digitalmars-d-bugs
mailing list