as a quick guess of something to try...add lines like
the --regex-c= ones and replace the given token ("interface") with
the offending ones ("event"). If that doesn't work you'll have to
read-up on how ctags --regex works, you probably just want to delete
event/command/task...

MS

Baik, Jin-serk wrote:
Hello,

I wanna use ctags in .nc files, so searched this mailing list and
found a good article from Jan Hauer on Nov 1, 2004 PST.
He mensioned to try the following:

ctags --regex-c='/^module[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/'
--regex-c='/^configuration[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/'
--regex-c='/^interface[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/'
--langmap=c:.nc.h --language-force=c $SCAN_PATH

Where SCAN_PATH points to whatever paths you want to be searched,
separated by blanks (e.g. export SCAN_PATH="./*
$TOSDIR/platform/msp430/* $TOSDIR/interfaces/*").

I tried this and saw it works for the module, configuration and the
interface tags. However, it doesn't work for the event, command
or task. How can I do that for those tags ?

Any Ideas?


Jin-serk Baik

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to