Skip to content
Snippets Groups Projects
Commit ff894e39 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Michal Marek
Browse files

ctags: remove struct forward declarations


They're quite pointless and obscure location of real structure definition.

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 358142dd
No related merge requests found
......@@ -167,6 +167,8 @@ exuberant()
--langdef=dotconfig --language-force=dotconfig \
--regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'
# Remove structure forward declarations.
LANG=C sed -i -e '/^\([a-zA-Z_][a-zA-Z0-9_]*\)\t.*\t\/\^struct \1;.*\$\/;"\tx$/d' tags
}
emacs()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment