annotate dmd/DollarExp.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 b0d41ff5e0df
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
114
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
1 module dmd.DollarExp;
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
2
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
3 import dmd.common;
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
4 import dmd.IdentifierExp;
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
5 import dmd.Loc;
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
6 import dmd.Identifier;
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
7 import dmd.TOK;
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
8 import dmd.Id;
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
9
187
b0d41ff5e0df Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
Abscissa
parents: 178
diff changeset
10 import dmd.DDMDExtensions;
b0d41ff5e0df Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
Abscissa
parents: 178
diff changeset
11
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 class DollarExp : IdentifierExp
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 {
187
b0d41ff5e0df Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
Abscissa
parents: 178
diff changeset
14 mixin insertMemberExtension!(typeof(this));
b0d41ff5e0df Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
Abscissa
parents: 178
diff changeset
15
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
16 this(Loc loc)
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
17 {
178
e3afd1303184 Many small bugs fixed
korDen
parents: 114
diff changeset
18 register();
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
19 super(loc, Id.dollar);
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
20 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
21 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
22