bug-indent
[Top][All Lists]
Advanced

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

RE: suggestions: allow the user to specify where to put the * in declar


From: Dukeman, Gregory A. (MSFC-EV42)
Subject: RE: suggestions: allow the user to specify where to put the * in declarations
Date: Sun, 28 Nov 2010 22:06:34 -0600

No problem.  Thanks for the feedback.  The ideas for my suggestions came from 
exploring the capabilities of other tools and I thought they seemed reasonable 
on first thought.  Anyway, I guess what you're saying is that indent strictly 
operates on modifying, deleting, or adding white space.  Is that because you 
wanted to limit the scope of the tool?  I guess it probably complicates things 
significantly when you have to build in syntactic knowledge.


Thanks again,
Greg

--------------------------------------------------------------
Greg A. Dukeman, Lead
Launch Vehicle Analysis Team
Guidance, Navigation and Mission Analysis Branch 
Mail Stop: EV42 
NASA Marshall Space Flight Center 
MSFC, AL 35812
phone: 256-544-5464
fax: 256-544-2825
--------------------------------------------------------------


-----Original Message-----
From: indent [mailto:address@hidden 
Sent: Thursday, November 25, 2010 1:05 PM
To: Dukeman, Gregory A. (MSFC-EV42)
Cc: address@hidden
Subject: Re: suggestions: allow the user to specify where to put the * in 
declarations

indent doesn't make tea either.

In case my comment is too cryptic, it is not in the scope of indent's
purpose to change syntactic elements of the code. You might just as
incorrectly ask the vim team to do it ;-)

On 22/11/10 22:34, Dukeman, Gregory A. (MSFC-EV42) wrote:
> [ convert: ]
>
>       double* x, y;
>
> [ to: ]
>
>       double *x, *y;
>
> [ or vice versa.  And similarly within function arguments declarations. ]
>
>
>
>
> Thanks!
> Greg
>
> --------------------------------------------------------------
> Greg A. Dukeman, Lead
> Launch Vehicle Analysis Team
> Guidance, Navigation and Mission Analysis Branch 
> Mail Stop: EV42 
> NASA Marshall Space Flight Center 
> MSFC, AL 35812
> phone: 256-544-5464
> fax: 256-544-2825
> --------------------------------------------------------------
>
>
> -----Original Message-----
> From: Dukeman, Gregory A. (MSFC-EV42) 
> Sent: Monday, November 22, 2010 3:08 PM
> To: 'address@hidden'
> Subject: suggestions: adding braces to single statement do, if, for, and 
> while constructs; expanding multiple statements on single line to multiple 
> lines
>
> Hello,
>
> A couple of requests/suggestions:
>
> 1)   
>
> [ convert:  ]
>
>      if ( x<2 ) x=2;
>
> [to something like: ]
>
>      if ( x<2 ) 
>      {
>         X = 2;
>      }
>
>
> 2)
>
> [ convert: ]
>    
>     X = 1; y = 2; z = 3;
>
>  [ to something like: ]
>
>     X = 1;
>     Y = 2;
>     Z = 3;
>
>
>
> Thanks!
> Greg
>
> --------------------------------------------------------------
> Greg A. Dukeman, Lead
> Launch Vehicle Analysis Team
> Guidance, Navigation and Mission Analysis Branch 
> Mail Stop: EV42 
> NASA Marshall Space Flight Center 
> MSFC, AL 35812
> phone: 256-544-5464
> fax: 256-544-2825
> --------------------------------------------------------------
>
>
>
> _______________________________________________
> 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]