From: Fernando Nasser <fnasser@redhat.com>
To: Kevin Buettner <kevinb@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] More completion improvements
Date: Sun, 18 Feb 2001 10:49:00 -0000 [thread overview]
Message-ID: <3A9018B2.5AB7AD63@redhat.com> (raw)
In-Reply-To: <1010218183948.ZM21394@ocotillo.lan>
Kevin Buettner wrote:
>
> On Feb 18, 12:53pm, Fernando Nasser wrote:
>
> I took another look, and I don't see the style that I was objecting to
> used *anywhere* with add_show_from_set(). Perhaps, I was not clear
> enough in my original message. What I find (mildly) objectionable is
> changing code which looks like this:
>
> add_show_from_set (add_set_cmd (...), &showlist);
>
> to:
>
> add_show_from_set ((c = add_set_cmd (...)), &showlist);
>
> Note the addition of an embedded assignment expression. Instead, if
> it becomes necessary to add an assignment, it should be added as a
> separate statment, thusly:
>
> c = add_set_cmd (...);
> add_show_from_set (c, &showlist);
>
I see what you mean now. I thought you were referring to the 1st form.
Yes, the second one has side effects and should be split.
Eli, can you do that before checking it in?
Thanks.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
next prev parent reply other threads:[~2001-02-18 10:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-12 0:18 [RFA] File-name " Eli Zaretskii
2001-02-14 10:35 ` Fernando Nasser
2001-02-15 3:13 ` Eli Zaretskii
2001-02-17 23:05 ` Eli Zaretskii
2001-02-17 23:34 ` [RFA] More " Eli Zaretskii
2001-02-18 6:58 ` Fernando Nasser
2001-02-18 7:58 ` Eli Zaretskii
2001-02-18 8:40 ` Kevin Buettner
2001-02-18 9:56 ` Fernando Nasser
2001-02-18 10:39 ` Kevin Buettner
2001-02-18 10:49 ` Fernando Nasser [this message]
2001-02-18 12:22 ` Eli Zaretskii
2001-02-19 3:48 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A9018B2.5AB7AD63@redhat.com \
--to=fnasser@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kevinb@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox