In our coding standard we would like all pointer declartions to have at lease 1 space before and after the declaration. So
char* foo1;
would be
char * foo1;
Just like what 'middle' would do
However we have blocks of defines like this.
uint32_t val1 * pointer_to_val1
const char * pointer_t_char
--align-pointer=middle works for most of our cases but in the above case it will do something similar to below
uint32_t val1 * pointer_to_val1
const char * pointer_t_char
Would it be possible to add a =whitespace option that would add whitespace if it was missing but if thre was already whitespace leave it alone?
Ticket moved from /p/astyle/bugs/539/
This will be fixed in the next release
Should be fixed in 3.6.5