Looking for how to do --regex-c ctags equivalent

View: New views
1 Messages — Rating Filter:   Alert me  

Looking for how to do --regex-c ctags equivalent

by Aneesh Kumar K.V-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I am using global to tag the Linux kernel source and some recent
changes made me look for --regex based conversion during tag
generation. exuberant-ctags support --regex option which helps to
achive things like

  --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/'


That is needed so that if i do a find_tag on sys_open it goes to the
below definition.

SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, int, mode)

Is there a way i can do the same using gtags. I don't want to use
ctags mode in gtags-parser.

-aneesh


_______________________________________________
Help-global mailing list
Help-global@...
http://lists.gnu.org/mailman/listinfo/help-global