* etags.c (get_lang_from_name, get_lang_from_interpreter,
commitc23da302cb4b6eff1772d0822084dbcb36860b06
authorFrancesco Potortì <pot@gnu.org>
Mon, 6 Nov 1995 17:21:24 +0000 (6 17:21 +0000)
committerFrancesco Potortì <pot@gnu.org>
Mon, 6 Nov 1995 17:21:24 +0000 (6 17:21 +0000)
tree7f7a63893626532be2444a79535a5087cb30ee7e
parent036a3fd8a21c14f13d4809fc33f218c4d240e881
* etags.c (get_lang_from_name, get_lang_from_interpreter,
get_lang_from_suffix): New functions.
(get_language): Function deleted.
(lang_entry): Two members added to struct.
(lang_names): Reflect the new layout of lang_entry.
(print_language_names, main, find_entries): Use the new functions.
(find_entries): Look at the first line for #! if no language.
(C_entries): Invalidate the token when funcdef is reset.
(Perl_functions): New function.
(lang_suffixes): .pl and .pm are Perl suffixes.
lib-src/etags.c