Mercurial > projects > ldc
diff dmd2/lstring.c @ 847:356e65836fb5
Merged DMD 2.021 frontend.
Removed generated files from dmd/dmd2 dirs.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sat, 13 Dec 2008 16:14:37 +0100 |
parents | f04dde6e882c |
children |
line wrap: on
line diff
--- a/dmd2/lstring.c Sat Dec 13 13:15:31 2008 +0100 +++ b/dmd2/lstring.c Sat Dec 13 16:14:37 2008 +0100 @@ -14,7 +14,11 @@ #include "mem.h" #include "lstring.h" +#ifdef _MSC_VER // prevent compiler internal crash +Lstring Lstring::zero; +#else Lstring Lstring::zero = LSTRING_EMPTY(); +#endif Lstring *Lstring::ctor(const dchar *p, unsigned length) {