Mercurial > emacs
changeset 35302:6a51ef53518f
2001-01-15 Francesco Potorti` <pot@pot.cnuce.cnr.it>
* etags.c (print_language_names): Print filenames in addition to
suffixes.
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Mon, 15 Jan 2001 08:57:56 +0000 |
parents | 6cb4bc361bf8 |
children | a1775d96a961 |
files | lib-src/ChangeLog lib-src/etags.c |
diffstat | 2 files changed, 15 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/ChangeLog Mon Jan 15 04:32:52 2001 +0000 +++ b/lib-src/ChangeLog Mon Jan 15 08:57:56 2001 +0000 @@ -1,3 +1,8 @@ +2001-01-15 Francesco Potorti` <pot@pot.cnuce.cnr.it> + + * etags.c (print_language_names): Print filenames in addition to + suffixes. + 2001-01-13 Gerd Moellmann <gerd@gnu.org> * make-docfile.c (write_c_args): Print newlines as spaces. @@ -559,15 +564,15 @@ 2000-06-13 Gerd Moellmann <gerd@gnu.org> * Version 20.7 released. - + 2000-02-26 Gerd Moellmann <gerd@gnu.org> * Version 20.6 released. - + 1999-12-04 Gerd Moellmann <gerd@gnu.org> * Version 20.5 released. - + 1999-11-13 Gerd Moellmann <gerd@gnu.org> * Makefile.in (b2m): Add dependency on GETOPTDEPS.
--- a/lib-src/etags.c Mon Jan 15 04:32:52 2001 +0000 +++ b/lib-src/etags.c Mon Jan 15 08:57:56 2001 +0000 @@ -31,7 +31,7 @@ * 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 @@ 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);