diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 7cff7e5ad10..a7ed46c25a0 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2001-01-15 Francesco Potorti` + + * etags.c (print_language_names): Print filenames in addition to + suffixes. + 2001-01-13 Gerd Moellmann * make-docfile.c (write_c_args): Print newlines as spaces. @@ -559,15 +564,15 @@ line. Change logs above this notice are those for the 21.x code line. 2000-06-13 Gerd Moellmann * Version 20.7 released. - + 2000-02-26 Gerd Moellmann * Version 20.6 released. - + 1999-12-04 Gerd Moellmann * Version 20.5 released. - + 1999-11-13 Gerd Moellmann * Makefile.in (b2m): Add dependency on GETOPTDEPS. diff --git a/lib-src/etags.c b/lib-src/etags.c index 77b28a73df1..17aeeb8733f 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -31,7 +31,7 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ * Francesco Potorti` (pot@gnu.org) is the current maintainer. */ -char pot_etags_version[] = "@(#) pot revision number is 13.47"; +char pot_etags_version[] = "@(#) pot revision number is 13.48"; #define TRUE 1 #define FALSE 0 @@ -579,13 +579,16 @@ static void print_language_names () { language *lang; - char **ext; + char **name, **ext; puts ("\nThese are the currently supported languages, along with the\n\ -default file name suffixes:"); +default file names and dot suffixes:"); for (lang = lang_names; lang->name != NULL; lang++) { - printf ("\t%s\t", lang->name); + printf (" %-*s", 10, lang->name); + if (lang->filenames != NULL) + for (name = lang->filenames; *name != NULL; name++) + printf (" %s", *name); if (lang->suffixes != NULL) for (ext = lang->suffixes; *ext != NULL; ext++) printf (" .%s", *ext);