diff options
| author | Fabrice Nicol | 2021-06-01 04:15:59 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2021-06-06 12:29:29 +0300 |
| commit | 5a8a5a990ae25cb65cfee424635f1f3b02b21f6a (patch) | |
| tree | ca7b26632f5a8daa68e23ce6e9aa97762181e0a5 /lib/malloc/dynarray_finalize.c | |
| parent | 2207f9adccc0411b7ad73a3703f16250d7f8e139 (diff) | |
| download | emacs-5a8a5a990ae25cb65cfee424635f1f3b02b21f6a.tar.gz 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 'lib/malloc/dynarray_finalize.c')
0 files changed, 0 insertions, 0 deletions