Skip to content

Commit e72b772

Browse files
committed
docs(man): write about the combination of a kind letter and a kind name
Signed-off-by: Masatake YAMATO <[email protected]>
1 parent 14c44fe commit e72b772

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

man/ctags-incompatibilities.7.rst.in

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,25 @@ includes a whitespace character.
128128
This requirement is for making the output of Universal-ctags follow
129129
the tags file format.
130130

131+
A combination of a kind letter and a kind name
132+
....................................................................................
133+
134+
In Universal-ctags, the combination of
135+
a kind letter and a kind name must be unique in a language.
136+
137+
You cannot define more than one kinds reusing a kind letter with
138+
different kind names. You cannot define more than one kinds reusing a
139+
kind name with different kind letters.
140+
141+
An example::
142+
143+
--regex-Foo=/abstract +class +([a-z]+)/\1/a,abstractClass/i
144+
--regex-Foo=/attribute +([a-z]+)/\1/a,attribute/i
145+
146+
Universal-ctags rejects this because the kind letter, "a", used twice
147+
for defining a kind "abstractClass" and "attribute".
148+
149+
131150
Incompatibilities in tags file format
132151
-------------------------------------------------------------
133152

0 commit comments

Comments
 (0)