We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4485ea commit bc3d2e1Copy full SHA for bc3d2e1
src/tools/make_ctags
@@ -1,8 +1,14 @@
1
#!/bin/sh
2
trap "rm -f /tmp/$$" 0 1 2 3 15
3
rm -f ./tags
4
+
5
+if [ "`ctags --version 2>&1 | grep Exuberant`" != "Exuberant" ]
6
+then FLAGS="-dt"
7
+else FLAGS="--c-types=+dfmstuv"
8
+fi
9
10
find `pwd`/ \( -name _deadcode -a -prune \) -o \
- -type f -name '*.[chyl]' -print|xargs ctags -d -t -a -f tags
11
+ -type f -name '*.[chyl]' -print|xargs ctags "$FLAGS" -a -f tags
12
13
sort tags >/tmp/$$ && mv /tmp/$$ tags
14
0 commit comments