Skip to content

Instantly share code, notes, and snippets.

@azeey
Last active December 18, 2015 05:09
Show Gist options
  • Save azeey/5730573 to your computer and use it in GitHub Desktop.
Save azeey/5730573 to your computer and use it in GitHub Desktop.
Ctag command for TinyOS/Nesc
ctags -R --regex-c='/^(generic )?module[ \t]*([a-zA-Z0-9_]+)/\2/d,definition/' \
--regex-c='/^(generic )?configuration[ \t]*([a-zA-Z0-9_]+)/\2/d,definition/' \
--regex-c='/^interface[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/' \
--langmap=c:.nc.h --language-force=c -L taglist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment