Mercurial > projects > dil
changeset 247:11a67ec83281
- Call set() on type variable.
author | aziz |
---|---|
date | Wed, 01 Aug 2007 13:06:00 +0000 |
parents | 52f4aa097865 |
children | 63a15b082c0c |
files | trunk/src/Parser.d |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/src/Parser.d Wed Aug 01 12:27:05 2007 +0000 +++ b/trunk/src/Parser.d Wed Aug 01 13:06:00 2007 +0000 @@ -3005,7 +3005,9 @@ T.Ifloat, T.Idouble, T.Ireal, T.Cfloat, T.Cdouble, T.Creal, T.Void: auto type = new Type(token.type); - requireNext(T.Dot); + nT(); + set(type, begin); + require(T.Dot); auto ident = requireId(); e = new TypeDotIdExpression(type, ident);