Hello All, I am a contributor to GCC (with plain write after approval status) - but my copyright assigment form don't cover GNU indent (and it was so painful to get from my employer that I won't ask any other one for GNU indent, so I won't send any patch to GNU indent).
However, I do have some wishes for GNU indent (my Debian/Linux/AMD64/Sid or Ubuntu/Maeverick/AMD64 systems have GNU indent 2.2.10). First, add some regular expression matching facility for the -T option. For instance, one could imagine an option --type-filter which given some regexp (or some glob(3) pattern if you prefer) would admit as types any identifier matching it. For example, all the public types of <pthreads.h> -eg pthread_mutex_t pthread_cond_t pthread_barrier_t have a common pattern, starting with pthread_ and ending with _t. In addition, I would be delighted if GNU indent matched even better the GNU coding styles, in particular the GCC ones. At last, I dream of GNU indent accepting C++ code (but there is astyle already); the GCC compiler is switching to C++ internally (but that is a long road). Thanks for reading. I will probably unsubscribe quite soon from this list, so feel free to CC me explicitly. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} *** _______________________________________________ bug-indent mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-indent
