3 This file is part of libmspcore
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
14 string demangle_gcc3(const string &sym)
18 if(sym.compare(0, 2, "_Z"))
21 string::const_iterator i=sym.begin()+2;
23 bool nested=(*i=='N');
25 while(first || (nested && *i!='E'))
28 for(; isdigit(*i); ++i)
30 string::const_iterator j=i+len;
42 for(; i!=sym.end(); ++i)