xref: /Universal-ctags/Tmain/lregex-unexpected-regex-kind.d/run.sh (revision 474efcd62447f67125e5f2fb3d89213e90311966)
1# Copyright: 2019 Masatake YAMATO
2# License: GPL-2
3
4CTAGS="$1 --quiet --options=NONE"
5BUILDDIR=$2
6
7$CTAGS --options=X.ctags --list-kinds=X
8
9echo "# no kind is specified" 1>&2
10$CTAGS --options=Ynokind.ctags -o $BUILDDIR/tags input.yyy
11
12echo "# no kind (empty,) is specified" 1>&2
13$CTAGS --options=Yempty1.ctags -o $BUILDDIR/tags input.yyy
14
15echo "# no kind (empty,,) is specified" 1>&2
16$CTAGS --options=Yempty2.ctags -o $BUILDDIR/tags input.yyy
17
18echo "# (r/) kind is specified inline" 1>&2
19$CTAGS --options=Y-r.ctags -o $BUILDDIR/tags input.yyy
20
21echo "# (/regex) kind is specified inline" 1>&2
22$CTAGS --options=Y-regex.ctags -o $BUILDDIR/tags input.yyy
23
24echo "# (r/regex) kind is specified inline" 1>&2
25$CTAGS --options=Y-r-regex.ctags -o $BUILDDIR/tags input.yyy
26
27echo "# (r/regex) kind defined with --kinddef-<LANG> option" 1>&2
28$CTAGS --options=Y-r-regex-with-kinddef.ctags -o $BUILDDIR/tags input.yyy
29