Mercurial > projects > ddmd
comparison dmd/NullExp.d @ 137:09c858522d55
merge
author | Trass3r |
---|---|
date | Mon, 13 Sep 2010 23:29:00 +0200 |
parents | af1bebfd96a4 |
children | e3afd1303184 |
comparison
equal
deleted
inserted
replaced
136:9d194c848e3a | 137:09c858522d55 |
---|---|
19 | 19 |
20 class NullExp : Expression | 20 class NullExp : Expression |
21 { | 21 { |
22 ubyte committed; | 22 ubyte committed; |
23 | 23 |
24 this(Loc loc) | 24 this(Loc loc, Type type = null) |
25 { | 25 { |
26 super(loc, TOK.TOKnull, NullExp.sizeof); | 26 super(loc, TOK.TOKnull, NullExp.sizeof); |
27 this.type = type; | |
27 } | 28 } |
28 | 29 |
29 override Expression semantic(Scope sc) | 30 override Expression semantic(Scope sc) |
30 { | 31 { |
31 version (LOGSEMANTIC) { | 32 version (LOGSEMANTIC) { |