aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDirk Gouders <dirk@gouders.net>2014-08-16 01:56:56 -0400
committerMichal Marek <mmarek@suse.cz>2014-08-19 05:12:43 -0400
commit8bf4abaddd01aa6c9d13804fa05084cb28135a47 (patch)
tree1ac8785b52c4b16e2d9d49c7050e5863f03e26a3 /scripts
parent39fed7015cd9124b5893fce18d33f49db1c48bea (diff)
scripts/tags.sh: Don't specify kind-spec for emacs' ctags/etags
Emacs' ctags/etags don't know about kind-spec in --regex and produce warnings: etags: invalid regexp modifier `v', ignoring etags: invalid regexp modifier `/', ignoring Fix it by removing kind-spec for the emacs case. Signed-off-by: Dirk Gouders <dirk@gouders.net> Inspired-by: Masatake YAMATO <yamato@redhat.com> Tested-by: Masatake YAMATO <yamato@redhat.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index cbfd269a6011..727989757d59 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -263,7 +263,7 @@ emacs()
263 --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \ 263 --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \
264 --regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \ 264 --regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \
265 --regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'\ 265 --regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'\
266 --regex='/DEFINE_HASHTABLE\((\w*)/\1/v/' 266 --regex='/DEFINE_HASHTABLE\((\w*)/\1/'
267 267
268 all_kconfigs | xargs $1 -a \ 268 all_kconfigs | xargs $1 -a \
269 --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' 269 --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'