* parse_escape() in 5.2
@ 2002-06-24 12:46 Greg Watson
2002-06-24 12:56 ` Greg Watson
0 siblings, 1 reply; 3+ messages in thread
From: Greg Watson @ 2002-06-24 12:46 UTC (permalink / raw)
To: gdb
I was looking though parse_escape() (in util.c) and it seems a little
weird. There are two instances of case '0': in the same switch
statement. It also seems to do something strange when it sees the
escape '\^' (whatever that is).
Greg
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: parse_escape() in 5.2
2002-06-24 12:46 parse_escape() in 5.2 Greg Watson
@ 2002-06-24 12:56 ` Greg Watson
2002-06-24 15:32 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: Greg Watson @ 2002-06-24 12:56 UTC (permalink / raw)
To: gdb
My mistake. It was case 0: and case '0':
Greg
>I was looking though parse_escape() (in util.c) and it seems a
>little weird. There are two instances of case '0': in the same
>switch statement. It also seems to do something strange when it sees
>the escape '\^' (whatever that is).
>
>Greg
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: parse_escape() in 5.2
2002-06-24 12:56 ` Greg Watson
@ 2002-06-24 15:32 ` Andrew Cagney
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2002-06-24 15:32 UTC (permalink / raw)
To: Greg Watson; +Cc: gdb
> My mistake. It was case 0: and case '0':
A patch to change that <<0>> to <<'\0'>> most welcome.
Andrew
> Greg
>
> I was looking though parse_escape() (in util.c) and it seems a little weird. There are two instances of case '0': in the same switch statement. It also seems to do something strange when it sees the escape '\^' (whatever that is).
>
> Greg
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-24 22:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-24 12:46 parse_escape() in 5.2 Greg Watson
2002-06-24 12:56 ` Greg Watson
2002-06-24 15:32 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).