more mangler
This commit is contained in:
parent
72dd4491a8
commit
7dc9c4c62c
3 changed files with 119 additions and 21 deletions
|
|
@ -43,14 +43,8 @@ demangle(char *s, char *buf, int strip)
|
|||
nparen--;
|
||||
break;
|
||||
default:
|
||||
if(nparen == 0 && nangle == 0){
|
||||
if(*r == ':' && *(r+1) == ':'){
|
||||
*w++ = '$';
|
||||
r++;
|
||||
}
|
||||
else
|
||||
*w++ = *r;
|
||||
}
|
||||
if(nparen == 0 && nangle == 0)
|
||||
*w++ = *r;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue