Mercurial > projects > ddmd
diff dmd/Parser.d @ 125:767a01c2a272
BaseClasses -> Vector
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Fri, 03 Sep 2010 22:17:54 +0100 |
parents | 9e39c7de8438 |
children | 1765f3ef917d |
line wrap: on
line diff
--- a/dmd/Parser.d Fri Sep 03 21:39:37 2010 +0400 +++ b/dmd/Parser.d Fri Sep 03 22:17:54 2010 +0100 @@ -2146,8 +2146,8 @@ } if (token.value == TOK.TOKidentifier) { - BaseClass b = new BaseClass(parseBasicType(), protection); - baseclasses.push(cast(void*)b); + auto b = new BaseClass(parseBasicType(), protection); + baseclasses.push(b); if (token.value != TOK.TOKcomma) break; }