* PATCH to c-typeprint.c
@ 2002-01-09 15:15 Jason Merrill
2002-01-09 15:27 ` Andrew Cagney
2002-01-09 15:34 ` Daniel Jacobowitz
0 siblings, 2 replies; 3+ messages in thread
From: Jason Merrill @ 2002-01-09 15:15 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
The test for 'ptype class Foo' in classes.exp was printing 'int operator
int();', which is wrong. Fixed thusly. Is this OK to check in?
2002-01-09 Jason Merrill <jason@redhat.com>
* c-typeprint.c (is_type_conversion_operator): Fix thinko.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 631 bytes --]
*** c-typeprint.c.~1~ Tue Jan 8 11:43:51 2002
--- c-typeprint.c Wed Jan 9 20:44:54 2002
*************** is_type_conversion_operator (struct type
*** 407,413 ****
else if (strncmp (name, "delete", 6) == 0)
name += 6;
else
! return 0;
/* Is that really the end of the name? */
if (('a' <= *name && *name <= 'z')
--- 407,415 ----
else if (strncmp (name, "delete", 6) == 0)
name += 6;
else
! /* If it doesn't look like new or delete, it's a type conversion
! operator. */
! return 1;
/* Is that really the end of the name? */
if (('a' <= *name && *name <= 'z')
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PATCH to c-typeprint.c
2002-01-09 15:15 PATCH to c-typeprint.c Jason Merrill
@ 2002-01-09 15:27 ` Andrew Cagney
2002-01-09 15:34 ` Daniel Jacobowitz
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2002-01-09 15:27 UTC (permalink / raw)
To: Jason Merrill; +Cc: gdb-patches
Please feel free to add your self to the maintainers file (and don't
forget to post the change as a obvious fix :-)
Andrew
(and thanks)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PATCH to c-typeprint.c
2002-01-09 15:15 PATCH to c-typeprint.c Jason Merrill
2002-01-09 15:27 ` Andrew Cagney
@ 2002-01-09 15:34 ` Daniel Jacobowitz
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2002-01-09 15:34 UTC (permalink / raw)
To: gdb-patches
On Wed, Jan 09, 2002 at 11:15:36PM +0000, Jason Merrill wrote:
> The test for 'ptype class Foo' in classes.exp was printing 'int operator
> int();', which is wrong. Fixed thusly. Is this OK to check in?
>
> 2002-01-09 Jason Merrill <jason@redhat.com>
>
> * c-typeprint.c (is_type_conversion_operator): Fix thinko.
[not absolutely sure I can approve this yet but]
Yes, thank you. Once you add yourself to MAINTAINERS feel free to
check it in as obvious.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-01-09 23:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-09 15:15 PATCH to c-typeprint.c Jason Merrill
2002-01-09 15:27 ` Andrew Cagney
2002-01-09 15:34 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox