annotate dmd/backend/enum_t.d @ 146:af7e5ebef6ad

redundant extern(C)
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Tue, 14 Sep 2010 23:34:50 +0100
parents e28b18c23469
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.backend.enum_t;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
114
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
3 import dmd.common;
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 import dmd.backend.SEN;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 import dmd.backend.Symbol;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 import dmd.backend.LIST;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 struct enum_t
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 uint SEflags;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 Symbol* SEalias; // pointer to identifier E to use if
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 /* enum was defined as: */
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 /* typedef enum { ... } E; */
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 symlist_t SEenumlist; // all members of enum
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
16 }