mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Merged DMD commit bb29b7eba53cedf52c732bebd8bd11c042f89da9:
fix line ending --- This is the last commit in the series of merges to the DMD front-end 1.067. The vararg-related changes (e.g. DMD commit d759ab9a5db02a13b923922264751b4a6d0eb9df and 1a7126117786e5c1bc80ea74e1f5bc97cc20d51c, __argTypes, etc.) have not been merged yet.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Compiler implementation of the D programming language
|
||||
// Copyright (c) 1999-2010 by Digital Mars
|
||||
// Copyright (c) 1999-2011 by Digital Mars
|
||||
// All Rights Reserved
|
||||
// written by Walter Bright
|
||||
// http://www.digitalmars.com
|
||||
@@ -3066,7 +3066,8 @@ int StaticCtorDeclaration::addPostInvariant()
|
||||
void StaticCtorDeclaration::toCBuffer(OutBuffer *buf, HdrGenState *hgs)
|
||||
{
|
||||
if (hgs->hdrgen)
|
||||
{ buf->writestring("static this();\n");
|
||||
{ buf->writestring("static this();");
|
||||
buf->writenl();
|
||||
return;
|
||||
}
|
||||
buf->writestring("static this()");
|
||||
|
||||
Reference in New Issue
Block a user