annotate dmd/HdrGenState.d @ 191:52188e7e3fb5
Fixed deprecated features, now compiles with DMD2.058
Also changed Array allocation policy:
Now doesn't reallocate but malloc's, followed by a memcpy (no free).
(this fixes a crash while compiling druntime. Same bug in dmd)
author |
korDen@korDen-pc |
date |
Sun, 25 Mar 2012 03:11:12 +0400 |
parents |
10317f0c89a5 |
children |
|
rev |
line source |
0
|
1 module dmd.HdrGenState;
|
|
2
|
|
3 struct HdrGenState
|
|
4 {
|
|
5 int hdrgen; // 1 if generating header file
|
|
6 int ddoc; // 1 if generating Ddoc file
|
|
7 int console; // 1 if writing to console
|
|
8 int tpltMember;
|
|
9 int inCallExp;
|
|
10 int inPtrExp;
|
|
11 int inSlcExp;
|
|
12 int inDotExp;
|
|
13 int inBinExp;
|
|
14 int inArrExp;
|
|
15 int emitInst;
|
|
16
|
|
17 struct FLinit_
|
|
18 {
|
|
19 int init;
|
|
20 int decl;
|
|
21 }
|
|
22
|
|
23 FLinit_ FLinit;
|
|
24 } |