Update xml.cxx to return typenames (#777)
Typenames were being returned wrong, so add a condition to handle templateparms correctly.
This commit is contained in:
parent
bbebd1a012
commit
2d871655e3
1 changed files with 2 additions and 2 deletions
|
|
@ -144,8 +144,8 @@ public:
|
|||
Xml_print_kwargs(Getattr(obj, k));
|
||||
} else if (Cmp(k, "parms") == 0 || Cmp(k, "pattern") == 0) {
|
||||
Xml_print_parmlist(Getattr(obj, k));
|
||||
} else if (Cmp(k, "catchlist") == 0) {
|
||||
Xml_print_parmlist(Getattr(obj, k), "catchlist");
|
||||
} else if (Cmp(k, "catchlist") == 0 || Cmp(k, "templateparms") == 0) {
|
||||
Xml_print_parmlist(Getattr(obj, k), Char(k));
|
||||
} else {
|
||||
DOH *o;
|
||||
print_indent(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue