Commit 8bf4abad authored by Dirk Gouders's avatar Dirk Gouders Committed by Michal Marek

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: default avatarDirk Gouders <dirk@gouders.net>
Inspired-by: default avatarMasatake YAMATO <yamato@redhat.com>
Tested-by: default avatarMasatake YAMATO <yamato@redhat.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 39fed701
......@@ -263,7 +263,7 @@ emacs()
--regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \
--regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \
--regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/'\
--regex='/DEFINE_HASHTABLE\((\w*)/\1/v/'
--regex='/DEFINE_HASHTABLE\((\w*)/\1/'
all_kconfigs | xargs $1 -a \
--regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment