aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2011-11-26 14:02:00 -0500
committerMichal Marek <mmarek@suse.cz>2011-12-18 16:36:06 -0500
commitff894e396b4d0b5383127c1bcb2cd3879946526e (patch)
treee5b31c4de8cf0862f434a5edb8f8d991553ac685 /scripts
parent358142dd8cbbfa2abb1090aca1b636b98ed75ef5 (diff)
ctags: remove struct forward declarations
They're quite pointless and obscure location of real structure definition. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 028dc5ca857d..833813a99e7c 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -167,6 +167,8 @@ exuberant()
167 --langdef=dotconfig --language-force=dotconfig \ 167 --langdef=dotconfig --language-force=dotconfig \
168 --regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/' 168 --regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'
169 169
170 # Remove structure forward declarations.
171 LANG=C sed -i -e '/^\([a-zA-Z_][a-zA-Z0-9_]*\)\t.*\t\/\^struct \1;.*\$\/;"\tx$/d' tags
170} 172}
171 173
172emacs() 174emacs()