bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why this indent result looks abnormal? when i drop the cast operator


From: david
Subject: Re: why this indent result looks abnormal? when i drop the cast operator from source, it works well? why
Date: Thu, 16 Aug 2007 18:39:58 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20060911)

Looks like you've found a bug.
I'll have to investigate.

D

??? wrote:
> line 38 in attachment
>   
> ------------------------------------------------------------------------
>
>      1        Script started on 2007Äê08ÔÂ16ÈÕ ÐÇÆÚËÄ 09ʱ43·Ö40Ãë
>      2        address@hidden /tmp>bash -version
>      3        GNU bash, version 3.00.15(1)-release (i386-redhat-linux-gnu)
>      4        Copyright (C) 2004 Free Software Foundation, Inc.
>      5        address@hidden /tmp>uname -a
>      6        Linux oracle.dev 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 
> 2005 i686 i686 i386 GNU/Linux
>      7        address@hidden /tmp>indent -version
>      8        GNU indent 2.2.9
>      9        address@hidden /tmp>cat ~.//.indent.pro
>     10        -ppi3
>     11        -ip3
>     12        -psl
>     13        -sc
>     14        -sob
>     15        -pcs
>     16        -bap
>     17        -bad
>     18        -bbb
>     19        -ci2
>     20        -ncdw
>     21        -nce
>     22        -i2
>     23        -gnu
>     24        -hnl
>     25        -cs
>     26        address@hidden /tmp>cat ./test_indent.sh 
>     27        echo "void printGathShm (void *base) 
>     28        { for (i = 0; i < MAX_ARRAY_SIZE; i++) { 
>     29        p = (char *) base + i; }}" |
>     30        indent -st
>     31        address@hidden /tmp>sh ./test_indent.sh 
>     32        void
>     33        printGathShm (void *base)
>     34        {
>     35          for (i = 0; i < MAX_ARRAY_SIZE; i++)
>     36            {
>     37              p = (char *) base + i;
>     38        }}
>     39        address@hidden /tmp>exit
>        
>     40        Script done on 2007Äê08ÔÂ16ÈÕ ÐÇÆÚËÄ 09ʱ45·Ö07Ãë
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> bug-indent mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-indent
>   





reply via email to

[Prev in Thread] Current Thread [Next in Thread]