diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-05-25 18:02:21 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-05-25 18:02:21 +0300 |
commit | 9c66c5a0cabc748ce50d844a0f1af8d1fc121436 (patch) | |
tree | ee646dc097c061206e8da00fd976485e25bc7038 /lisp/emacs-lisp/generic.el | |
parent | 9b995d55c566737ef7aa3432826e1b7b656ff1c7 (diff) | |
download | emacs-9c66c5a0cabc748ce50d844a0f1af8d1fc121436.tar.gz emacs-9c66c5a0cabc748ce50d844a0f1af8d1fc121436.tar.bz2 emacs-9c66c5a0cabc748ce50d844a0f1af8d1fc121436.zip |
Fix tagging of class members in C-like OO languages
* lib-src/etags.c (longopts): Add new option --class-qualify and
its shorthand -Q.
(print_help): Add help text for --class-qualify.
(main): Add handling of -Q.
(consider_token, C_entries) <omethodparm>: Append argument types
to Objective C methods only if --class-qualify was specified.
Qualify C++, Objective C, and Java class members with their class
names only if --class-qualify was specified.
(C_entries): If --class-qualify was not specified, remove the
namespace and class qualifiers from tag names of C++ methods.
This allows to use etags.el as xref back-end without the
tag-symbol-match-p method, which greatly increases the number of
potentially false positives. (Bug#20629)
* doc/man/etags.1: Update to document the new --class-qualify
option.
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/CTAGS.good: Update due to changes in etags.c.
Diffstat (limited to 'lisp/emacs-lisp/generic.el')
0 files changed, 0 insertions, 0 deletions