Mercurial > projects > dil
diff trunk/src/Parser.d @ 280:1eb54f6f392e
- Made class Type abstract.
- Added new class IntegralType and adapted parser accordingly.
author | aziz |
---|---|
date | Mon, 06 Aug 2007 18:54:01 +0000 |
parents | 0bde32503976 |
children | 74113a9aa77c |
line wrap: on
line diff
--- a/trunk/src/Parser.d Mon Aug 06 18:10:05 2007 +0000 +++ b/trunk/src/Parser.d Mon Aug 06 18:54:01 2007 +0000 @@ -3116,7 +3116,7 @@ T.Float, T.Double, T.Real, T.Ifloat, T.Idouble, T.Ireal, T.Cfloat, T.Cdouble, T.Creal, T.Void: - auto type = new Type(token.type); + auto type = new IntegralType(token.type); nT(); set(type, begin); require(T.Dot); @@ -3206,7 +3206,7 @@ T.Float, T.Double, T.Real, T.Ifloat, T.Idouble, T.Ireal, T.Cfloat, T.Cdouble, T.Creal, T.Void: - t = new Type(token.type); + t = new IntegralType(token.type); nT(); set(t, begin); break;