There is a version 2.2.11 that includes the fix J-C mentioned at

http://indent.isidore-it.eu/beautify.html

however as soon as I placed, it there were a couple of posts that will
require fixing, so I didn't announce it yet.

D.

On 14/03/10 16:21, Jean-Christophe Dubois wrote:
> Hi,
>
> A patch (that should fix this issuer) was proposed back in October.
>
> At the time, it was pointed out that this case construct is not strictly C 
> compliant but is more of a C++ construct.
>
> However a patch derived from http://lists.gnu.org/archive/html/bug-
> indent/2009-10/msg00000.html was accepted in November. It shall be part of 
> next release (whenever it is).
>
> JC
>
> le samedi 13 mars 2010 连海东 a écrit
>   
>> Hi, everyone:
>>
>> When I use indent format  a file like:
>>
>> switch (cond) {
>> case 1 ... 3:
>>            return 0;
>> }
>>
>> the output become
>>
>> switch (cond) {
>> case 1...3:
>>            return 0;
>> }
>>
>> THE SPACE between 1 and ... is striped, and it is a syntax error.
>>
>>     
>
>
> _______________________________________________
> bug-indent mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-indent
>
>   



_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent
  • Help 连海东
    • Re: Help Jean-Christophe Dubois
      • Re: Help indent

Reply via email to