diff options
author | Fabrice Nicol <fabrnicol@gmail.com> | 2021-06-01 04:15:59 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-06-06 12:29:29 +0300 |
commit | 5a8a5a990ae25cb65cfee424635f1f3b02b21f6a (patch) | |
tree | ca7b26632f5a8daa68e23ce6e9aa97762181e0a5 /lisp/emacs-lisp/autoload.el | |
parent | 2207f9adccc0411b7ad73a3703f16250d7f8e139 (diff) | |
download | emacs-5a8a5a990ae25cb65cfee424635f1f3b02b21f6a.tar.gz emacs-5a8a5a990ae25cb65cfee424635f1f3b02b21f6a.tar.bz2 emacs-5a8a5a990ae25cb65cfee424635f1f3b02b21f6a.zip |
Add support for Mercury (https://mercurylang.org) in 'etags'
Tag declarations starting lines with ':-'.
By default, all declarations are tagged. Optionally, first
predicate or functions in clauses can be tagged as in Prolog
support using '--declarations'. (Bug#47408).
* lib-src/etags.c (test_objc_is_mercury, Mercury_functions)
(mercury_skip_comment, mercury_decl, mercury_pr):
Implement Mercury support. As Mercury and Objective-C have
the same file extension .m, a heuristic test tries to detect
the language.
* doc/man/etags.1: Document the change. Add Mercury-specific
behavior for '--declarations'. This option tags first
predicates or functions in clauses in addition to declarations.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions