This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is a new patch - I removed the IEEE decoding because there was too much oppostion. This version prints out the literal mangled string of the floating value instead - but allows to override the printing of floating values by those who use the demangle.h header. -------- 2003-12-03 Carlo Wood <carlo@alinoe.com> PR libstdc++/13045 * bits/demangle.h namespace __gnu_cxx::demangler (enum substitution_nt): Removed trailing comma. (session<Allocator>::decode_real): Added. (session<Allocator>::decode_literal): Call decode_real for floating literals. (session<Allocator>::decode_type_with_postfix): Put the postfix of the return type of (member) functions after the function instead of after the return type. Also, put a space after the prefix of qualified function pointers: "int (* const<space>". * src/demangle.cc: include most dependent header file first. * testsuite/demangle/regression/cw-16.cc: Updated one and added three tests. Testsuite runs ok. Bootstrap works too of course. Patch attached. -- Carlo Wood <carlo@alinoe.com>
Attachment:
PR13045.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |