Skip to content

Instantly share code, notes, and snippets.

@rgiot
Created February 7, 2013 12:47
Show Gist options
  • Save rgiot/4730693 to your computer and use it in GitHub Desktop.
Save rgiot/4730693 to your computer and use it in GitHub Desktop.
.ctags configuration to extract informations from z80 source files
--langdef=z80
--langmap=z80:.asm
--regex-z80=/^([a-zA-Z][a-zA-Z0-9_]*)/\1/l,label/
--regex-z80=/^([a-zA-Z][a-zA-Z0-9_]*)[[:space:]]+[eE][qQ][uU][[:space:]]/\1/d,define/
--regex-z80=/[[:space:]]*macro[[:space:]]+([a-zA-Z_0-9]*)[[:space:]]*/\1/m,macro/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment