unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* C++ excessive bracketts removal
@ 2007-10-11 21:11 Dennis Yurichev
  2007-10-11 21:29 ` Wojtek
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Yurichev @ 2007-10-11 21:11 UTC (permalink / raw)
  To: help-gnu-emacs

Hello.
Is there any Emacs script which can remove excessive bracketts in all
expressions in some C++ source code?
Is there any other tools for C++ source code "cleaning"?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: C++ excessive bracketts removal
  2007-10-11 21:11 C++ excessive bracketts removal Dennis Yurichev
@ 2007-10-11 21:29 ` Wojtek
  2007-10-11 22:00   ` Dennis Yurichev
  0 siblings, 1 reply; 3+ messages in thread
From: Wojtek @ 2007-10-11 21:29 UTC (permalink / raw)
  To: help-gnu-emacs

On Oct 11, 4:11 pm, Dennis Yurichev <Dennis.Yuric...@gmail.com> wrote:
> Hello.
> Is there any Emacs script which can remove excessive bracketts in all
> expressions in some C++ source code?
> Is there any other tools for C++ source code "cleaning"?

Can you say more about what you mean by excessive? Is it that you want
((a && b)) to be turned into (a && b)?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: C++ excessive bracketts removal
  2007-10-11 21:29 ` Wojtek
@ 2007-10-11 22:00   ` Dennis Yurichev
  0 siblings, 0 replies; 3+ messages in thread
From: Dennis Yurichev @ 2007-10-11 22:00 UTC (permalink / raw)
  To: help-gnu-emacs

On Oct 12, 12:29 am, Wojtek <wnk...@gmail.com> wrote:
> On Oct 11, 4:11 pm, Dennis Yurichev <Dennis.Yuric...@gmail.com> wrote:
>
> > Hello.
> > Is there any Emacs script which can remove excessive bracketts in all
> > expressions in some C++ source code?
> > Is there any other tools for C++ source code "cleaning"?
>
> Can you say more about what you mean by excessive? Is it that you want
> ((a && b)) to be turned into (a && b)?

Yes! With the respect to operator precedence.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-11 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-11 21:11 C++ excessive bracketts removal Dennis Yurichev
2007-10-11 21:29 ` Wojtek
2007-10-11 22:00   ` Dennis Yurichev

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).