2001-01-15 Francesco Potorti` <pot@pot.cnuce.cnr.it>
authorFrancesco Potortì <pot@gnu.org>
Mon, 15 Jan 2001 08:57:56 +0000 (08:57 +0000)
committerFrancesco Potortì <pot@gnu.org>
Mon, 15 Jan 2001 08:57:56 +0000 (08:57 +0000)
* etags.c (print_language_names): Print filenames in addition to
suffixes.

lib-src/ChangeLog
lib-src/etags.c

index 7cff7e5..a7ed46c 100644 (file)
@@ -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 @@ line.  Change logs above this notice are those for the 21.x code line.
 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.
index 77b28a7..17aeeb8 100644 (file)
@@ -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);