Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
846:bc982f1ad106 | 847:356e65836fb5 |
---|---|
12 | 12 |
13 #include "dchar.h" | 13 #include "dchar.h" |
14 #include "mem.h" | 14 #include "mem.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 |