git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-02-15 19:33:19 +00:00
commit 01ab2bc6ec

View file

@ -347,7 +347,7 @@ char *DataType::print_mangle_default() {
}
// if (d) c = d+1;
for (; *c; c++) {
if ((*c == ' ') || (*c == ':')) result[ri] << '_';
if ((*c == ' ') || (*c == ':') || (*c == '<') || (*c == '>')) result[ri] << '_';
else result[ri] << *c;
}
if ((is_pointer-implicit_ptr)) result[ri] << '_';