diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-12-28 18:08:22 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-01-13 16:15:27 -0500 |
commit | 9f14b4201239a9779d52bdd6137583d452b38ec3 (patch) | |
tree | f57801b039333fb57a13866af69679536b69d632 /scripts | |
parent | a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff) |
scripts/tags.sh: Fix regex syntax for etags
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Tested-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tags.sh | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh index 08f06c00745e..4c53b7d883d3 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh | |||
@@ -201,34 +201,34 @@ exuberant() | |||
201 | emacs() | 201 | emacs() |
202 | { | 202 | { |
203 | all_target_sources | xargs $1 -a \ | 203 | all_target_sources | xargs $1 -a \ |
204 | --regex='/^(ENTRY|_GLOBAL)(\([^)]*\)).*/\2/' \ | 204 | --regex='/^\(ENTRY\|_GLOBAL\)(\([^)]*\)).*/\2/' \ |
205 | --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \ | 205 | --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \ |
206 | --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \ | 206 | --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \ |
207 | --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \ | 207 | --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \ |
208 | --regex='/PAGEFLAG\(([^,)]*).*/Page\1/' \ | 208 | --regex='/PAGEFLAG(\([^,)]*\).*/Page\1/' \ |
209 | --regex='/PAGEFLAG\(([^,)]*).*/SetPage\1/' \ | 209 | --regex='/PAGEFLAG(\([^,)]*\).*/SetPage\1/' \ |
210 | --regex='/PAGEFLAG\(([^,)]*).*/ClearPage\1/' \ | 210 | --regex='/PAGEFLAG(\([^,)]*\).*/ClearPage\1/' \ |
211 | --regex='/TESTSETFLAG\(([^,)]*).*/TestSetPage\1/' \ | 211 | --regex='/TESTSETFLAG(\([^,)]*\).*/TestSetPage\1/' \ |
212 | --regex='/TESTPAGEFLAG\(([^,)]*).*/Page\1/' \ | 212 | --regex='/TESTPAGEFLAG(\([^,)]*\).*/Page\1/' \ |
213 | --regex='/SETPAGEFLAG\(([^,)]*).*/SetPage\1/' \ | 213 | --regex='/SETPAGEFLAG(\([^,)]*\).*/SetPage\1/' \ |
214 | --regex='/__SETPAGEFLAG\(([^,)]*).*/__SetPage\1/' \ | 214 | --regex='/__SETPAGEFLAG(\([^,)]*\).*/__SetPage\1/' \ |
215 | --regex='/TESTCLEARFLAG\(([^,)]*).*/TestClearPage\1/' \ | 215 | --regex='/TESTCLEARFLAG(\([^,)]*\).*/TestClearPage\1/' \ |
216 | --regex='/__TESTCLEARFLAG\(([^,)]*).*/TestClearPage\1/' \ | 216 | --regex='/__TESTCLEARFLAG(\([^,)]*\).*/TestClearPage\1/' \ |
217 | --regex='/CLEARPAGEFLAG\(([^,)]*).*/ClearPage\1/' \ | 217 | --regex='/CLEARPAGEFLAG(\([^,)]*\).*/ClearPage\1/' \ |
218 | --regex='/__CLEARPAGEFLAG\(([^,)]*).*/__ClearPage\1/' \ | 218 | --regex='/__CLEARPAGEFLAG(\([^,)]*\).*/__ClearPage\1/' \ |
219 | --regex='/__PAGEFLAG\(([^,)]*).*/__SetPage\1/' \ | 219 | --regex='/__PAGEFLAG(\([^,)]*\).*/__SetPage\1/' \ |
220 | --regex='/__PAGEFLAG\(([^,)]*).*/__ClearPage\1/' \ | 220 | --regex='/__PAGEFLAG(\([^,)]*\).*/__ClearPage\1/' \ |
221 | --regex='/PAGEFLAG_FALSE\(([^,)]*).*/Page\1/' \ | 221 | --regex='/PAGEFLAG_FALSE(\([^,)]*\).*/Page\1/' \ |
222 | --regex='/TESTSCFLAG\(([^,)]*).*/TestSetPage\1/' \ | 222 | --regex='/TESTSCFLAG(\([^,)]*\).*/TestSetPage\1/' \ |
223 | --regex='/TESTSCFLAG\(([^,)]*).*/TestClearPage\1/' \ | 223 | --regex='/TESTSCFLAG(\([^,)]*\).*/TestClearPage\1/' \ |
224 | --regex='/SETPAGEFLAG_NOOP\(([^,)]*).*/SetPage\1/' \ | 224 | --regex='/SETPAGEFLAG_NOOP(\([^,)]*\).*/SetPage\1/' \ |
225 | --regex='/CLEARPAGEFLAG_NOOP\(([^,)]*).*/ClearPage\1/' \ | 225 | --regex='/CLEARPAGEFLAG_NOOP(\([^,)]*\).*/ClearPage\1/' \ |
226 | --regex='/__CLEARPAGEFLAG_NOOP\(([^,)]*).*/__ClearPage\1/' \ | 226 | --regex='/__CLEARPAGEFLAG_NOOP(\([^,)]*\).*/__ClearPage\1/' \ |
227 | --regex='/TESTCLEARFLAG_FALSE\(([^,)]*).*/TestClearPage\1/' \ | 227 | --regex='/TESTCLEARFLAG_FALSE(\([^,)]*\).*/TestClearPage\1/' \ |
228 | --regex='/__TESTCLEARFLAG_FALSE\(([^,)]*).*/__TestClearPage\1/' \ | 228 | --regex='/__TESTCLEARFLAG_FALSE(\([^,)]*\).*/__TestClearPage\1/' \ |
229 | --regex='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/' \ | 229 | --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' \ |
230 | --regex='/PCI_OP_READ\(([a-z]*[a-z]).*[1-4]\)/pci_bus_read_config_\1/' \ | 230 | --regex='/PCI_OP_READ(\([a-z]*[a-z]\).*[1-4])/pci_bus_read_config_\1/' \ |
231 | --regex='/PCI_OP_WRITE\(([a-z]*[a-z]).*[1-4]\)/pci_bus_write_config_\1/' | 231 | --regex='/PCI_OP_WRITE(\([a-z]*[a-z]\).*[1-4])/pci_bus_write_config_\1/' |
232 | 232 | ||
233 | all_kconfigs | xargs $1 -a \ | 233 | all_kconfigs | xargs $1 -a \ |
234 | --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' | 234 | --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' |