* etags.c (get_lang_from_name, get_lang_from_interpreter,
authorFrancesco Potortì <pot@gnu.org>
Mon, 6 Nov 1995 17:21:24 +0000 (17:21 +0000)
committerFrancesco Potortì <pot@gnu.org>
Mon, 6 Nov 1995 17:21:24 +0000 (17:21 +0000)
commit1f6382492815fd94710ecbe2ed78d59e2ea015a5
tree00dc62e92d90fed2c468a84605a421b0b15856fc
parent89d56c1a5267744e7feec4d93919c90475304432
* 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