aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/man/etags.12
-rw-r--r--etc/NEWS3
-rw-r--r--lib-src/etags.c3
3 files changed, 6 insertions, 2 deletions
diff --git a/doc/man/etags.1 b/doc/man/etags.1
index 7cc501cc496..d1453ca969a 100644
--- a/doc/man/etags.1
+++ b/doc/man/etags.1
@@ -64,7 +64,7 @@ Files specified with absolute file names will be recorded
64with absolute file names. Files generated from a source file\-\-like 64with absolute file names. Files generated from a source file\-\-like
65a C file generated from a source Cweb file\-\-will be recorded with 65a C file generated from a source Cweb file\-\-will be recorded with
66the name of the source file. 66the name of the source file.
67Compressed files are supported using gzip, bzip2, and xz. 67Compressed files are supported using gzip, bzip2, xz, and zstd.
68The programs recognize the language used in an input file based on its 68The programs recognize the language used in an input file based on its
69file name and contents. The \fB\-\-language\fP switch can be used to force 69file name and contents. The \fB\-\-language\fP switch can be used to force
70parsing of the file names following the switch according to the given 70parsing of the file names following the switch according to the given
diff --git a/etc/NEWS b/etc/NEWS
index 8b94ac1cb64..8934dc10fb6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -584,6 +584,9 @@ The mode is automatically enabled in files that start with the
584use the new 'fileloop-initialize' and 'fileloop-continue' functions 584use the new 'fileloop-initialize' and 'fileloop-continue' functions
585instead. 585instead.
586 586
587+++
588*** etags is now able to read Zstandard-compressed files.
589
587** bibtex 590** bibtex
588 591
589--- 592---
diff --git a/lib-src/etags.c b/lib-src/etags.c
index d2395cea33a..6165872e4cf 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -519,6 +519,7 @@ static compressor compressors[] =
519 { "GZ", "gzip -d -c"}, 519 { "GZ", "gzip -d -c"},
520 { "bz2", "bzip2 -d -c" }, 520 { "bz2", "bzip2 -d -c" },
521 { "xz", "xz -d -c" }, 521 { "xz", "xz -d -c" },
522 { "zst", "zstd -d -c -q" },
522 { NULL } 523 { NULL }
523}; 524};
524 525
@@ -861,7 +862,7 @@ followed by the name of an interpreter. If no such sequence is found,\n\
861Fortran is tried first; if no tags are found, C is tried next.\n\ 862Fortran is tried first; if no tags are found, C is tried next.\n\
862When parsing any C file, a \"class\" or \"template\" keyword\n\ 863When parsing any C file, a \"class\" or \"template\" keyword\n\
863switches to C++."); 864switches to C++.");
864 puts ("Compressed files are supported using gzip, bzip2, and xz.\n\ 865 puts ("Compressed files are supported using gzip, bzip2, xz, and zstd.\n\
865\n\ 866\n\
866For detailed help on a given language use, for example,\n\ 867For detailed help on a given language use, for example,\n\
867etags --help --lang=ada."); 868etags --help --lang=ada.");