From 2d871655e37d2e587a935aaba5023735767f291e Mon Sep 17 00:00:00 2001 From: ahmed-usman Date: Mon, 26 Sep 2016 22:15:47 -0400 Subject: [PATCH] Update xml.cxx to return typenames (#777) Typenames were being returned wrong, so add a condition to handle templateparms correctly. --- Source/Modules/xml.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Modules/xml.cxx b/Source/Modules/xml.cxx index a69e7b043..5f090561a 100644 --- a/Source/Modules/xml.cxx +++ b/Source/Modules/xml.cxx @@ -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);