mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-19 18:29:03 +02:00
[svn r248] Fixed: labels in inline asm block now work for the normal case.
Fixed: inline asm blocks are now emitted as a single asm entity.
This commit is contained in:
@@ -467,7 +467,7 @@ Statement *CompoundStatement::semantic(Scope *sc)
|
||||
}
|
||||
i++;
|
||||
}
|
||||
if (statements->dim == 1)
|
||||
if (statements->dim == 1 && !isAsmBlockStatement())
|
||||
return s;
|
||||
return this;
|
||||
}
|
||||
@@ -3593,9 +3593,7 @@ LabelDsymbol::LabelDsymbol(Identifier *ident)
|
||||
: Dsymbol(ident)
|
||||
{
|
||||
statement = NULL;
|
||||
#if IN_GCC
|
||||
asmLabelNum = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
LabelDsymbol *LabelDsymbol::isLabel() // is this a LabelDsymbol()?
|
||||
|
||||
Reference in New Issue
Block a user