* etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
commit6e2efbe3c06b865f5fc13e2a50532cee45ba2776
authorFrancesco Potortì <pot@gnu.org>
Wed, 16 Nov 1994 13:00:49 +0000 (16 13:00 +0000)
committerFrancesco Potortì <pot@gnu.org>
Wed, 16 Nov 1994 13:00:49 +0000 (16 13:00 +0000)
tree28c0a0d24dddf861f24ccf38f3e6f30fe0675941
parent7c08d70aa29abd4fed90dd676b1eb2a8a6031e5b
* etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
is compiled if this is defined.  The new functions and variables
added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
[VMS]: All VMS specific code previously contained in
etags-vmslib.c is now included here, modified for dealing with
language and regex options intermixed with filenames.
(header_file): Global variable deleted.
(Lang_Function): New typedef.  All language parser functions
changed to this new type.
(string_numeric_p, substr, prestr): Functions deleted.
(readline_internal): Does the job that readline did previously.
(longopts): --language and --regex options added.
(lang_names, lang_extensions, lang_func, print_language_names):
New structures, variables and functions for choosing languages.
(print_help): Help strings updated.  Calls print_language_names.
(argument_type, ARGUMENT): Typedefs for dealing with language and
regex options intermixed with filenames.
(main): Changed the way of dealing with arguments on the command
line to deal with language and regex options intermixed with
filenames.
(get_language, default_C_entries, Cplusplus_entries,
Cstar_entries, Yacc_entries, just_read_file): New functions.
(find_entries): Use the new method for choosing the language.
(Pascal_functions): Allow intermixing of comment styles.
(prolog_getit, skip_comment): Rewritten for speed.
(readline): Rewritten to deal with regexps.
lib-src/etags.c