Message ID | 1408168618-6269-2-git-send-email-dirk@gouders.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Warnings are gone. Tested-by: Masatake YAMATO <yamato@redhat.com> On Sat, 16 Aug 2014 07:56:56 +0200, Dirk Gouders <dirk@gouders.net> wrote: > 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> > --- > scripts/tags.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/tags.sh b/scripts/tags.sh > index cbfd269..7279897 100755 > --- a/scripts/tags.sh > +++ b/scripts/tags.sh > @@ -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/' > -- > 2.0.2 > -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/scripts/tags.sh b/scripts/tags.sh index cbfd269..7279897 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -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/'
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> --- scripts/tags.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)