[Uml-devel] [Bug 109636] add tcl code generator
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Nov 10 21:18:14 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=109636
------- Additional Comments From okellogg users sourceforge net 2006-11-10 22:18 -------
SVN commit 603939 by okellogg:
writeHeaderFile(): Call template_params.next(), else we spin to death.
writeAssociationIncl(): TODO: classifier is always NULL in the else case.
CCBUG:109636
M +5 -1 tclwriter.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/tclwriter.cpp #603938:603939
@ -230,7 +230,8 @
UMLTemplateList template_params = c->getTemplateList();
if (template_params.count()) {
writeCode("#TODO template<");
- for (UMLTemplate * t = template_params.first(); t;) {
+ for (UMLTemplate * t = template_params.first(); t;
+ t = template_params.next()) {
QString formalName = t->getName();
QString typeName = t->getTypeName();
writeCode(typeName + "# " + formalName);
@ -409,8 +410,11 @
writeCode("namespace eval " + cleanName(classifier->getName()) +
" {}");
} else {
+ // CHECK: This crashes (classifier still NULL from above)
+ /*
writeCode("namespace eval " + cleanName(classifier->getPackage()) +
"::" + cleanName(classifier->getName()) + " {}");
+ */
}
}
}
More information about the umbrello-devel
mailing list