Skip to content

Commit

Permalink
script.sh: Adapt to universal-ctags Kconfig parser
Browse files Browse the repository at this point in the history
The parser has been modified before being merged so we adapt to the
changes.

See : universal-ctags/ctags#2553

Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
  • Loading branch information
MaximeChretien committed May 26, 2020
1 parent d3ba0ce commit 0f1f713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ parse_defs_K()
tmp=`mktemp -d`
full_path=$tmp/$opt2
git cat-file blob "$opt1" > "$full_path"
ctags -x --language-force=kconfig "$full_path" |
ctags -x --language-force=kconfig --kinds-kconfig=c --extras-kconfig=-{configPrefixed} "$full_path" |
awk '{print "CONFIG_"$1" "$2" "$3}'
rm "$full_path"
rmdir $tmp
Expand Down

0 comments on commit 0f1f713

Please sign in to comment.