When formatting code such as:
int* a;
int* someFunction();
GC formats them as:
int *a;
int *someFunction();
Can this please be made a -space- option? This is our
preferred style and while it does have the weakness that
int *a, *b, *c;
works and
int* a, b, c;
does not (b and c are not pointers) to us, int* is the
type and "a" is the name. We don't use lists of
multiple variables.
Logged In: YES
user_id=365473
I have hacked indent_spaces.c to change the behaviour by
inserting a return statement at the start of
Indent_AlignTypeNamesCom(). Naturally this is not a solution
but it seems to work well enough for me for now:
diff -u vendor/Sources//indent_spaces.c
trunk/Sources//indent_spaces.c
--- vendor/Sources//indent_spaces.c Thu Mar 17 11:08:36 2005
+++ trunk/Sources//indent_spaces.c Thu Mar 17 11:08:23 2005
@@ -419,6 +419,8 @@
int tt;
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
+ return;
+
pdebi = pdeb;
/*