Mercurial > projects > ldc
comparison dmd/lstring.c @ 1133:eeb8b95ea92e
Cleanup DMD 1.041 merge.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Mon, 23 Mar 2009 20:26:33 +0100 |
parents | b30fe7e1dbb9 |
children |
comparison
equal
deleted
inserted
replaced
1132:76e72fdef04d | 1133:eeb8b95ea92e |
---|---|
12 | 12 |
13 #include "dchar.h" | 13 #include "dchar.h" |
14 #include "rmem.h" | 14 #include "rmem.h" |
15 #include "lstring.h" | 15 #include "lstring.h" |
16 | 16 |
17 #ifdef _MSC_VER // prevent compiler internal crash | |
18 Lstring Lstring::zero; | |
19 #else | |
17 Lstring Lstring::zero = LSTRING_EMPTY(); | 20 Lstring Lstring::zero = LSTRING_EMPTY(); |
21 #endif | |
18 | 22 |
19 Lstring *Lstring::ctor(const dchar *p, unsigned length) | 23 Lstring *Lstring::ctor(const dchar *p, unsigned length) |
20 { | 24 { |
21 Lstring *s; | 25 Lstring *s; |
22 | 26 |