projects
/
musl-tables
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update and handle enums in api tables
[musl-tables]
/
maketags.sh
diff --git
a/maketags.sh
b/maketags.sh
index
d12745d
..
f634f21
100755
(executable)
--- a/
maketags.sh
+++ b/
maketags.sh
@@
-5,7
+5,10
@@
MUSL=${MUSL:-../musl}
(
cd $MUSL/include
(
cd $MUSL/include
- ctags -f /tmp/musl.tags -R -n -u --language-force=c --c-kinds=pxdstuv --fields=k --exclude='*.sh' .
+ ctags -f /tmp/musl.tags -R -n -u --language-force=c --c-kinds=pxdstuve --fields=k --exclude='*.sh' .
+
+ # fix wchar_t bug of ctags
+ awk '/typedef.* wchar_t/{print "wchar_t\tbits/alltypes.h\t" NR ";\"\tt"}' bits/alltypes.h >>/tmp/musl.tags
)
awk -v inc=$MUSL/include/ '
)
awk -v inc=$MUSL/include/ '
@@
-25,6
+28,7
@@
function proto(t,h,n) {
close(cmd)
gsub(/\t/, " ", s)
gsub(/ +/, " ", s)
close(cmd)
gsub(/\t/, " ", s)
gsub(/ +/, " ", s)
+ gsub(/ \(/, "(", s)
return s
}
/^[^!]/ {
return s
}
/^[^!]/ {