From 8a878fd1d478a6c7b231edf5558a85a4b51fcd69 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sat, 23 Apr 2011 21:54:47 +0200 Subject: [PATCH] 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. --- dmd/func.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dmd/func.c b/dmd/func.c index e97a1bd4..6b569beb 100644 --- a/dmd/func.c +++ b/dmd/func.c @@ -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()");