Dear David Ingamells

Thanks for fantastic Indent! I write you to suggest an addition.

Please allow me more flexibility in where to put the '*' when I
declare a pointer of some sort.  I come to realize that Indent only
supports the original usage by K&R:

int *i = 1;

as opposed to

int* i = 1;

where the '*' really makes it explicit, that we are dealing with a
variable of type "int-pointer".

Again in the declaration of the argument i, I'd prefer the '*' to
stick with the type.

static void myFunction(int * i)
{
   ...
}

However, instead of spending time discussing pros and cons, I simply
suggest that the placement of the '*' is made customizable.




--
Andreas Rishede Hyllested
mailto: andreas 'at' rishede 'dot' dk
cell: +45 5190 1829



_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to