diff options
Diffstat (limited to 'src/exports.cc')
-rw-r--r-- | src/exports.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/exports.cc b/src/exports.cc index 92813f5e..62e0d2a3 100644 --- a/src/exports.cc +++ b/src/exports.cc @@ -123,7 +123,7 @@ void Compiler::generateExports() for ( ObjFieldList::Iter ofi = *objFieldList; ofi.lte(); ofi++ ) { ObjectField *field = ofi->value; if ( field->useOffset && field->typeRef != 0 ) { - UniqueType *ut = field->typeRef->lookupType( this ); + UniqueType *ut = field->typeRef->resolveType( this ); if ( ut != 0 && ut->typeId == TYPE_TREE ) { out << " " << ut->langEl->refName << " " << field->name << "();\n"; @@ -131,7 +131,7 @@ void Compiler::generateExports() } if ( field->isRhsGet ) { - UniqueType *ut = field->typeRef->lookupType( this ); + UniqueType *ut = field->typeRef->resolveType( this ); if ( ut != 0 && ut->typeId == TYPE_TREE ) { out << " " << ut->langEl->refName << " " << field->name << "();\n"; @@ -179,7 +179,7 @@ void Compiler::generateExports() for ( ObjFieldList::Iter of = *globalObjectDef->objFieldList; of.lte(); of++ ) { ObjectField *field = of->value; if ( field->isExport ) { - UniqueType *ut = field->typeRef->lookupType(this); + UniqueType *ut = field->typeRef->resolveType(this); if ( ut != 0 && ut->typeId == TYPE_TREE ) { out << ut->langEl->refName << " " << field->name << "( colm_program *prg );\n"; } @@ -220,7 +220,7 @@ void Compiler::generateExportsImpl() for ( ObjFieldList::Iter ofi = *objFieldList; ofi.lte(); ofi++ ) { ObjectField *field = ofi->value; if ( field->useOffset && field->typeRef != 0 ) { - UniqueType *ut = field->typeRef->lookupType( this ); + UniqueType *ut = field->typeRef->resolveType( this ); if ( ut != 0 && ut->typeId == TYPE_TREE ) { out << ut->langEl->refName << " " << lel->declName << "::" << field->name << @@ -230,7 +230,7 @@ void Compiler::generateExportsImpl() } if ( field->isRhsGet ) { - UniqueType *ut = field->typeRef->lookupType( this ); + UniqueType *ut = field->typeRef->resolveType( this ); if ( ut != 0 && ut->typeId == TYPE_TREE ) { out << ut->langEl->refName << " " << lel->declName << "::" << field->name << @@ -277,7 +277,7 @@ void Compiler::generateExportsImpl() for ( ObjFieldList::Iter of = *globalObjectDef->objFieldList; of.lte(); of++ ) { ObjectField *field = of->value; if ( field->isExport ) { - UniqueType *ut = field->typeRef->lookupType(this); + UniqueType *ut = field->typeRef->resolveType(this); if ( ut != 0 && ut->typeId == TYPE_TREE ) { out << ut->langEl->refName << " " << field->name << "( colm_program *prg )\n" |