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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.HdrGenState;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 struct HdrGenState
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 int hdrgen; // 1 if generating header file
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 int ddoc; // 1 if generating Ddoc file
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 int console; // 1 if writing to console
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 int tpltMember;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 int inCallExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 int inPtrExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 int inSlcExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 int inDotExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 int inBinExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 int inArrExp;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 int emitInst;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
16
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
17 struct FLinit_
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
18 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
19 int init;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
20 int decl;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
21 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
22
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
23 FLinit_ FLinit;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
24 }