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
  • Help 连海东
    • Re: Help Jean-Christophe Dubois

Reply via email to