Skip to content

Commit

Permalink
docs(man): write about the combination of a kind letter and a kind name
Browse files Browse the repository at this point in the history
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Feb 26, 2019
1 parent 674b79c commit fbd9e4e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions man/ctags-incompatibilities.7.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,25 @@ includes a whitespace character.
This requirement is for making the output of Universal-ctags follow
the tags file format.

A combination of a kind letter and a kind name
....................................................................................

In Universal-ctags, the combination of
a kind letter and a kind name must be unique in a language.

You cannot define more than one kinds reusing a kind letter with
different kind names. You cannot define more than one kinds reusing a
kind name with different kind letters.

An example::

--regex-Foo=/abstract +class +([a-z]+)/\1/a,abstractClass/i
--regex-Foo=/attribute +([a-z]+)/\1/a,attribute/i

Universal-ctags rejects this because the kind letter, "a", used twice
for defining a kind "abstractClass" and "attribute".


Incompatibilities in tags file format
-------------------------------------------------------------

Expand Down

0 comments on commit fbd9e4e

Please sign in to comment.