diff options
| author | Francesco Potortì | 2001-01-15 08:57:56 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2001-01-15 08:57:56 +0000 |
| commit | 83be933cf9cececfe8161baee3f3983fb5f70ee6 (patch) | |
| tree | 0b6dcbd248f1b74e6bf9633c7f18f2341eb562f5 | |
| parent | 37be86f28f3ef37de6e37f2e9c336612633c1c76 (diff) | |
| download | emacs-83be933cf9cececfe8161baee3f3983fb5f70ee6.tar.gz emacs-83be933cf9cececfe8161baee3f3983fb5f70ee6.zip | |
2001-01-15 Francesco Potorti` <pot@pot.cnuce.cnr.it>
* etags.c (print_language_names): Print filenames in addition to
suffixes.
| -rw-r--r-- | lib-src/ChangeLog | 11 | ||||
| -rw-r--r-- | lib-src/etags.c | 11 |
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 @@ | |||
| 1 | 2001-01-15 Francesco Potorti` <pot@pot.cnuce.cnr.it> | ||
| 2 | |||
| 3 | * etags.c (print_language_names): Print filenames in addition to | ||
| 4 | suffixes. | ||
| 5 | |||
| 1 | 2001-01-13 Gerd Moellmann <gerd@gnu.org> | 6 | 2001-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. | |||
| 559 | 2000-06-13 Gerd Moellmann <gerd@gnu.org> | 564 | 2000-06-13 Gerd Moellmann <gerd@gnu.org> |
| 560 | 565 | ||
| 561 | * Version 20.7 released. | 566 | * Version 20.7 released. |
| 562 | 567 | ||
| 563 | 2000-02-26 Gerd Moellmann <gerd@gnu.org> | 568 | 2000-02-26 Gerd Moellmann <gerd@gnu.org> |
| 564 | 569 | ||
| 565 | * Version 20.6 released. | 570 | * Version 20.6 released. |
| 566 | 571 | ||
| 567 | 1999-12-04 Gerd Moellmann <gerd@gnu.org> | 572 | 1999-12-04 Gerd Moellmann <gerd@gnu.org> |
| 568 | 573 | ||
| 569 | * Version 20.5 released. | 574 | * Version 20.5 released. |
| 570 | 575 | ||
| 571 | 1999-11-13 Gerd Moellmann <gerd@gnu.org> | 576 | 1999-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 | ||
| 34 | char pot_etags_version[] = "@(#) pot revision number is 13.47"; | 34 | char 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 | |||
| 579 | print_language_names () | 579 | print_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\ |
| 585 | default file name suffixes:"); | 585 | default 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); |