comparison gen/toir.cpp @ 124:a939ec89fc72 trunk

[svn r128] function local typedefs were not working
author lindquist
date Wed, 28 Nov 2007 03:34:37 +0100
parents 7f9a0a58394b
children c42d245468ea
comparison
equal deleted inserted replaced
123:7f9a0a58394b 124:a939ec89fc72
101 // class 101 // class
102 else if (ClassDeclaration* e = declaration->isClassDeclaration()) 102 else if (ClassDeclaration* e = declaration->isClassDeclaration())
103 { 103 {
104 Logger::println("ClassDeclaration"); 104 Logger::println("ClassDeclaration");
105 DtoForceConstInitDsymbol(e); 105 DtoForceConstInitDsymbol(e);
106 }
107 // typedef
108 else if (TypedefDeclaration* tdef = declaration->isTypedefDeclaration())
109 {
110 Logger::println("TypedefDeclaration");
111 tdef->type->getTypeInfo(NULL);
106 } 112 }
107 // unsupported declaration 113 // unsupported declaration
108 else 114 else
109 { 115 {
110 error("Unimplemented DeclarationExp type"); 116 error("Unimplemented DeclarationExp type");