History

ctags: remove struct forward declarations

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

Alexey Dobriyan committed 14 years ago

Commit ff894e31 parent 358142d1 file · +2 −0Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/tags.sh+2−0
@@ -167,6 +167,8 @@ exuberant() · 166 unmodified lines
167167 --langdef=dotconfig --language-force=dotconfig \
168168 --regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'
169169
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
170172 }
171173
172174 emacs()

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t