bug-indent
[Top][All Lists]
Advanced

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

Re: [Bug-indent] boxed comments


From: david ingamells
Subject: Re: [Bug-indent] boxed comments
Date: Sat, 22 Mar 2003 09:20:03 +0000
User-agent: KMail/1.4.3

Michael,
There are no explicitly intended exclusions. Indent does include options to 
"star" long comments that get wrapped over several lines, but I get the 
impression you want the opposite. When you get into the code I suspect that 
you'll find that the design to do what you want is quite tricky (especially 
with the current state of the comment handling code!), but you are welcome to 
try. Be warned that any changes must not break anything else - use the 
regression tests to check this.

David.


On Friday 21 March 2003 22:06, mjstumpf wrote:
> I'm dealing with some dinosaur C code full of big, horking ugly boxed
> comments no doubt placed there by programmers who spend more time talking
> in meetings than coding.
>
> :-)
>
> indent seems to explicitly exclude options to 'convert' these to more
> tolerable forms.  Let me give you an idea of what I'm looking at--600
> files looking like this:
>
> /*                                                                */
> /******************************************************************/
> /*         X F U N C   -   PERFORMS INANE FUNCTION                */
> /******************************************************************/
> /*                                                                */
> unsigned int32    xfunc(                 /* Perform inane fn      */
>                         void)            /*                       */
>                                          /*                       */
> {                                        /*                       */
>  unsigned int32 x;                       /* Local temp var        */
>
>
>
>  ...  you get the point.  Is there a reason you have avoided patches to
> make code like this sane, or has it simply never come up (would you
> consider patches if I offered them)?
>
> Thanks,
> Michael Stumpf
> address@hidden
>
>
>
>
> _______________________________________________
> Bug-indent mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-indent

-- 
David Ingamells
email: address@hidden

Tel:      01451 832114
Mobile: 07952 323613




reply via email to

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