[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-indent] indent-2.2.9 bug report
From: |
Denis |
Subject: |
[Bug-indent] indent-2.2.9 bug report |
Date: |
Wed, 02 Feb 2005 14:04:13 +0300 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Dear sirs:
Seems i found a bug in indent (Win32 version) (download from
http://gnuwin32.sourceforge.net/packages/indent.htm )
___
>indent.exe --version
GNU indent: 2.2.9
Description:
indent within options:
-bad -bap -bbb -nsob -cdb -sc -bli0 -nce -ncdw -cli2 -cbi0 -npcs -di2
-bc -npsl -bls -lp -ip0 -nbbo -hnl -nut -ts2 --line-length250
input file:
8<--------------------------->8
int Object::switchInstance(const ClassInfo * ci1, const ClassInfo * ci2,
const ClassInfo * ci3, const ClassInfo * ci4,
const ClassInfo * ci5) const
{
const ClassInfo *ci = getClassInfo();
return -1;
}
8<--------------------------->8
output file:
8<--------------------------->8
int Object::switchInstance(const ClassInfo * ci1, const ClassInfo * ci2,
const ClassInfo * ci3, const ClassInfo * ci4, const ClassInfo * ci5)
*const const*
{
const ClassInfo *ci = getClassInfo();
return -1;
}
8<--------------------------->8
***! -- in declaration double "const"
--
Best wishes,
Denis Moskvin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-indent] indent-2.2.9 bug report,
Denis <=