]> git.eshelyaron.com Git - emacs.git/commit
Teach etags new interpreters for some languages
authorEli Zaretskii <eliz@gnu.org>
Thu, 11 Jan 2018 16:35:12 +0000 (18:35 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 11 Jan 2018 16:35:12 +0000 (18:35 +0200)
commit7ba75b96373024f1f6c9b249f2337d7a58e8094c
tree3d36198f38c8bcc79b5a8d79cf7d1cc450d6c057
parent1f7f03742de79b143efdbc8c005c31adfe0600db
Teach etags new interpreters for some languages

* lib-src/etags.c (Erlang_interpreters, Lua_interpreters)
(Prolog_interpreters, Python_interpreters, Ruby_interpreters): New
static variables.
(lang_names): Use them to set interpreters for Erlang, Lua,
Prolog, Python, and Ruby.
(find_entries): Support "/usr/bin/env FOO" form of specifying an
interpreter.

* test/manual/etags/perl-src/htlmify-cystic: Modify the has-bang
line to test the "env FOO" interpreter spec.  (Bug#30075)
* test/manual/etags/ETAGS.good_1:
* test/manual/etags/ETAGS.good_2:
* test/manual/etags/ETAGS.good_3:
* test/manual/etags/ETAGS.good_4:
* test/manual/etags/ETAGS.good_5:
* test/manual/etags/ETAGS.good_6: Adapt to latest changes in test
files.
lib-src/etags.c
test/manual/etags/ETAGS.good_1
test/manual/etags/ETAGS.good_2
test/manual/etags/ETAGS.good_3
test/manual/etags/ETAGS.good_4
test/manual/etags/ETAGS.good_5
test/manual/etags/ETAGS.good_6
test/manual/etags/perl-src/htlmify-cystic