annotate dmd/backend/Cstate.d @ 0:10317f0c89a5

Initial commit
author korDen
date Sat, 24 Oct 2009 08:42:06 +0400
parents
children 2cc604139636
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.backend.Cstate;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 import dmd.backend.Symbol;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 import dmd.backend.LIST;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 import dmd.backend.symtab_t;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 struct BLKLST;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 struct Cstate
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 BLKLST* CSfilblk; // current source file we are parsing
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 Symbol* CSlinkage; // table of forward referenced linkage pragmas
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 list_t CSlist_freelist; // free list for list package
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 symtab_t* CSpsymtab; // pointer to current Symbol table
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 version (MEMORYHX) {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
16 void** CSphx; // pointer to HX data block
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
17 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
18 char* modname; // module unique identifier
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
19 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
20
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
21 extern (C++) extern __gshared Cstate cstate;