aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-12-01 20:15:25 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-12-01 20:43:14 -0200
commit6d16532a7d504cd1fcd7553957e7e53beac7fc37 (patch)
treec495db3f6adbc1c9e2748e65fbec47f5175eabf8
parent8b65c7afec2efb89c0e69154b1dc621b9dee963a (diff)
TypeEntries created for unknown types found in user added functions
are marked as CustomType isntead of TargetLangType. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
-rw-r--r--abstractmetabuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp
index 44f03154e..f3636d594 100644
--- a/abstractmetabuilder.cpp
+++ b/abstractmetabuilder.cpp
@@ -1608,7 +1608,7 @@ AbstractMetaType* AbstractMetaBuilder::translateType(const AddedFunction::TypeIn
type = typeDb->findType(typeInfo.name);
if (!type)
- type = new TypeEntry(typeInfo.name, TypeEntry::TargetLangType);
+ type = new TypeEntry(typeInfo.name, TypeEntry::CustomType);
metaType->setTypeEntry(type);
metaType->setIndirections(typeInfo.indirections);