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:
David Nadlinger
2011-04-23 21:54:47 +02:00
parent dd2c12f2c0
commit 8a878fd1d4

View File

@@ -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()");