[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] C++ Formatting Bug
From: |
Matthew Adam Johnson |
Subject: |
[Bug-indent] C++ Formatting Bug |
Date: |
Wed, 09 Feb 2005 10:27:09 -0500 |
User-agent: |
Debian Thunderbird 1.0 (X11/20050116) |
Hello,
I observed the following problem when using GNU indent 2.2.9 through the
GNOME Anjuta 1.2.2 IDE, on a Debian Sarge platform.
The sample source code
> double A::g() const
> {
> return _x;
> }
is changed to
> double A::g() const const
> {
> return _x;
> }
As you can see, the const modifier on a member function is duplicated
after auto-formatting.
Mostly, the results of the formatting are terrific. However, this bug
and some other quirks make indent a program that is not suitable for use
in everyday C++ development at this time.
I am very much looking forward to future versions of this software.
Regards,
Matthew
--
Informeta, L.L.C.
1 Civic Center Plaza, Suite 540
Poughkeepsie, NY 12601
www.informeta.net
Office: (845) 471-6272
Fax: (845) 471-0037
Mobile: (845) 417-7656
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-indent] C++ Formatting Bug,
Matthew Adam Johnson <=