mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-31 11:30:05 +02:00
Merge dmd-1.073.
This commit is contained in:
@@ -1142,6 +1142,7 @@ void PragmaDeclaration::semantic(Scope *sc)
|
||||
else
|
||||
error("unrecognized pragma(%s)", ident->toChars());
|
||||
|
||||
Ldecl:
|
||||
if (decl)
|
||||
{
|
||||
for (unsigned i = 0; i < decl->dim; i++)
|
||||
@@ -1159,7 +1160,10 @@ void PragmaDeclaration::semantic(Scope *sc)
|
||||
|
||||
Lnodecl:
|
||||
if (decl)
|
||||
{
|
||||
error("pragma is missing closing ';'");
|
||||
goto Ldecl; // do them anyway, to avoid segfaults.
|
||||
}
|
||||
}
|
||||
|
||||
int PragmaDeclaration::oneMember(Dsymbol **ps)
|
||||
|
||||
Reference in New Issue
Block a user