This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

[PATCH] PR libstdc++/13045 / C++ demangler, floating values and function pointer type return type postfix fix.


2003-11-24  Carlo Wood  <carlo@alinoe.com>

	PR libstdc++/13045
	* bits/demangle.h
	namespace __gnu_cxx::demangler
	(enum substitution_nt): Removed trailing comma.
	(print_IEEE_fp): Added extern declaration.
	(session<Allocator>::decode_real): Added.
	(session<Allocator>::decode_literal): Call decode_real for
	float and double 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.
	namespace <anonymous>
	(struct decimal_float_data): Added.
	(class decimal_float): Added.
	(int const m1023, int const m1, int const m0, int const p1): Added.
	(decimal_float_data const constants[]): Added.
        namespace __gnu_cxx::demangler
	(print_IEEE_fp): Added.
	* testsuite/demangle/regression/cw-16.cc: Updated one
	and added three tests.

OK?

-- 
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]