xref: /Universal-ctags/optlib/ctags-optlib.ctags (revision 6b1ec4704e4439d6013a44ba76f97fc2840967d1)
1#
2#
3#  Copyright (c) 2014, Red Hat, Inc.
4#  Copyright (c) 2014, Masatake YAMATO
5#
6#  Author: Masatake YAMATO <yamato@redhat.com>
7#
8# This program is free software; you can redistribute it and/or
9# modify it under the terms of the GNU General Public License
10# as published by the Free Software Foundation; either version 2
11# of the License, or (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software
20# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
21# USA.
22#
23#
24--langdef=Ctags
25--map-Ctags=+.ctags
26--kinddef-Ctags=l,langdef,language definitions
27--kinddef-Ctags=k,kind,kind definitions
28--regex-Ctags=/^--langdef=([^ \t]+)$/\1/l/{scope=set}
29--regex-Ctags=/^--regex-[^=]+=.*\/.,(.+)\/.*/\1/k/{scope=ref}
30--regex-Ctags=/^--kinddef-[^=]+=.,([^,]+),.*/\1/k/{scope=ref}
31