Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbc3d2e1

Browse files
committed
Allow make_ctags to work with exuberant tags.
1 parenta4485ea commitbc3d2e1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/tools/make_ctags

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
#!/bin/sh
22
trap"rm -f /tmp/$$" 0 1 2 3 15
33
rm -f ./tags
4+
5+
if ["`ctags --version2>&1| grep Exuberant`"!="Exuberant" ]
6+
thenFLAGS="-dt"
7+
elseFLAGS="--c-types=+dfmstuv"
8+
fi
9+
410
find`pwd`/\( -name _deadcode -a -prune\) -o \
5-
-type f -name'*.[chyl]' -print|xargs ctags-d -t -a -f tags
11+
-type f -name'*.[chyl]' -print|xargs ctags"$FLAGS" -a -f tags
612

713
sort tags>/tmp/$$&& mv /tmp/$$ tags
814

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp