script.sh: Index struct, enum and union members in C files

Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
This commit is contained in:
Maxime Chretien 2020-05-29 09:44:48 +02:00
parent 70a4151871
commit 8fd2bc4700

View file

@ -162,7 +162,7 @@ parse_defs_C()
tmp=`mktemp -d`
full_path=$tmp/$opt2
git cat-file blob "$opt1" > "$full_path"
ctags -x --kinds-c=+p+x-m "$full_path" |
ctags -x --kinds-c=+p+x "$full_path" |
grep -avE "^operator |CONFIG_" |
awk '{print $1" "$2" "$3}'
rm "$full_path"