Re: Help
"Jean-Christophe Dubois" <[email protected]> Sun, 14 Mar 2010 16:21:22 +0100
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
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.
>