summaryrefslogtreecommitdiffstats
path: root/scripts/ld-version.sh
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.com>2015-10-14 11:48:06 +0200
committerMichal Marek <mmarek@suse.com>2016-01-05 22:18:48 +0100
commit93209d65c1d38f86ffb3f61a1214130b581a9709 (patch)
tree4fb3a57f0d652d9e453db9f036e917b9d2921c51 /scripts/ld-version.sh
parenta1ccdb63b5535dc3446b0a9efc6d97aca82c72ef (diff)
downloadlinux-93209d65c1d38f86ffb3f61a1214130b581a9709.tar.bz2
tags: Unify emacs and exuberant rules
The emacs rules were constantly lagging behind the exuberant ones. Use a single set of rules for both, to make the script easier to maintain. The language understood by both tools is basic regular expression with some limitations, which are documented in a comment. To be able to store the rules in an array and easily iterate over it, the script requires bash now. In the exuberant case, the change fixes some false matches in <linux/page-flags.h> and also some too greedy matches in the arguments of the DECLARE_*/DEFINE_* macros. In the emacs case, several previously not working rules are matching now. Tested with these versions of the tools: Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert etags (GNU Emacs 24.5) Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts/ld-version.sh')
0 files changed, 0 insertions, 0 deletions