mirror of https://github.com/swig/swig
Improve -debug-module option for template parameters
Show the template parameters as a string
This commit is contained in:
parent
91a5be9143
commit
5eac7bdaa8
|
@ -99,7 +99,7 @@ void Swig_print_node(Node *obj) {
|
|||
Equal(k, "previousSibling") || Equal(k, "symtab") || Equal(k, "csymtab") || Equal(k, "sym:symtab") || Equal(k, "sym:nextSibling") ||
|
||||
Equal(k, "sym:previousSibling") || Equal(k, "csym:nextSibling") || Equal(k, "csym:previousSibling"))) {
|
||||
/* Do nothing */
|
||||
} else if (Equal(k, "kwargs") || Equal(k, "parms") || Equal(k, "wrap:parms") || Equal(k, "pattern") || Equal(k, "templateparms") || Equal(k, "throws")) {
|
||||
} else if (Equal(k, "kwargs") || Equal(k, "parms") || Equal(k, "wrap:parms") || Equal(k, "pattern") || Equal(k, "templateparms") || Equal(k, "templateparmsraw") || Equal(k, "template_parameters") || Equal(k, "throws")) {
|
||||
print_indent(2);
|
||||
/* Differentiate parameter lists by displaying within single quotes */
|
||||
Printf(stdout, "%-12s - \'%s\'\n", k, ParmList_str_defaultargs(value));
|
||||
|
|
Loading…
Reference in New Issue