aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-08-03 17:10:31 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:18 -0300
commit68976e42cd1d765baa73a85bc1b80da829996ec1 (patch)
tree2bf6766e0ea0936766af239eabddfd3e830d74ce
parente486e0bbe2065bbc228f84f93178e0636475021b (diff)
Set code generation flags on TypeSystem type entry.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
-rw-r--r--typesystem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/typesystem.cpp b/typesystem.cpp
index 66feacd5..d062655d 100644
--- a/typesystem.cpp
+++ b/typesystem.cpp
@@ -987,6 +987,7 @@ bool Handler::startElement(const QString &, const QString &n,
TypeSystemTypeEntry* moduleEntry = reinterpret_cast<TypeSystemTypeEntry*>(
m_database->findType(m_defaultPackage));
element->entry = moduleEntry ? moduleEntry : new TypeSystemTypeEntry(m_defaultPackage, since);
+ element->entry->setCodeGeneration(m_generate);
}
if ((m_generate == TypeEntry::GenerateForSubclass ||