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

"Dukeman, Gregory A. (MSFC-EV42)" <[email protected]> Mon, 22 Nov 2010 15:34:39 -0600
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <C1011CBB00C43342A7C49480413BBB9E50CD9F0A28@NDMSSCC06.ndc.nasa.gov>
[ 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: '[email protected]'
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
--------------------------------------------------------------