Mercurial > projects > dang
diff ast/Decl.d @ 173:50b98a06a200
Start of support for virtual functions
author | Anders Halager <halager@gmail.com> |
---|---|
date | Thu, 24 Jul 2008 20:40:04 +0200 |
parents | 01c2c49775ef |
children | 08f68d684047 |
line wrap: on
line diff
--- a/ast/Decl.d Thu Jul 24 20:31:24 2008 +0200 +++ b/ast/Decl.d Thu Jul 24 20:40:04 2008 +0200 @@ -246,7 +246,7 @@ this.identifier = identifier; auto name = new Identifier(identifier.loc, "__vptr"); - auto type = new IdentifierTypeExp(identifier.loc, "int"); + auto type = new IdentifierTypeExp(identifier.loc, "byte"); auto p_type = new PointerTypeExp(type); decls ~= new VarDecl(p_type, name, null); }