aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog11
-rw-r--r--lib-src/etags.c11
2 files changed, 15 insertions, 7 deletions
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 @@
12001-01-15 Francesco Potorti` <pot@pot.cnuce.cnr.it>
2
3 * etags.c (print_language_names): Print filenames in addition to
4 suffixes.
5
12001-01-13 Gerd Moellmann <gerd@gnu.org> 62001-01-13 Gerd Moellmann <gerd@gnu.org>
2 7
3 * make-docfile.c (write_c_args): Print newlines as spaces. 8 * 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.
5592000-06-13 Gerd Moellmann <gerd@gnu.org> 5642000-06-13 Gerd Moellmann <gerd@gnu.org>
560 565
561 * Version 20.7 released. 566 * Version 20.7 released.
562 567
5632000-02-26 Gerd Moellmann <gerd@gnu.org> 5682000-02-26 Gerd Moellmann <gerd@gnu.org>
564 569
565 * Version 20.6 released. 570 * Version 20.6 released.
566 571
5671999-12-04 Gerd Moellmann <gerd@gnu.org> 5721999-12-04 Gerd Moellmann <gerd@gnu.org>
568 573
569 * Version 20.5 released. 574 * Version 20.5 released.
570 575
5711999-11-13 Gerd Moellmann <gerd@gnu.org> 5761999-11-13 Gerd Moellmann <gerd@gnu.org>
572 577
573 * Makefile.in (b2m): Add dependency on GETOPTDEPS. 578 * 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. */
31 * Francesco Potorti` (pot@gnu.org) is the current maintainer. 31 * Francesco Potorti` (pot@gnu.org) is the current maintainer.
32 */ 32 */
33 33
34char pot_etags_version[] = "@(#) pot revision number is 13.47"; 34char pot_etags_version[] = "@(#) pot revision number is 13.48";
35 35
36#define TRUE 1 36#define TRUE 1
37#define FALSE 0 37#define FALSE 0
@@ -579,13 +579,16 @@ static void
579print_language_names () 579print_language_names ()
580{ 580{
581 language *lang; 581 language *lang;
582 char **ext; 582 char **name, **ext;
583 583
584 puts ("\nThese are the currently supported languages, along with the\n\ 584 puts ("\nThese are the currently supported languages, along with the\n\
585default file name suffixes:"); 585default file names and dot suffixes:");
586 for (lang = lang_names; lang->name != NULL; lang++) 586 for (lang = lang_names; lang->name != NULL; lang++)
587 { 587 {
588 printf ("\t%s\t", lang->name); 588 printf (" %-*s", 10, lang->name);
589 if (lang->filenames != NULL)
590 for (name = lang->filenames; *name != NULL; name++)
591 printf (" %s", *name);
589 if (lang->suffixes != NULL) 592 if (lang->suffixes != NULL)
590 for (ext = lang->suffixes; *ext != NULL; ext++) 593 for (ext = lang->suffixes; *ext != NULL; ext++)
591 printf (" .%s", *ext); 594 printf (" .%s", *ext);