ctags 5.6 with php5 support
Howto patch ctags 5.6 to work with php5 class member variable features (private, public, protected). I used Borlands free C++ compiler, should work with any other C compiler too.
- get ctags for windows .zip
http://ctags.sourceforge.net/
- get regex lib
http://people.delphiforums.com/gjc/gnu_regex.html
- get patch from
http://blog.bitflux.ch/archive/2004/04/15/ctags_for_php.html
- unpack ctags
- copy gnu_regex.exe into ctags dir and run it (extract it)
- edit mk_bc5.mak
remove comment from line
REGEX_DIR = gnu_regex_dist
- add C:\Borland\BCC55\Bin\ to PATH environment variable
$ SET PATH=C:\Borland\Bcc55\Bin;%PATH%
- create C:\Borland\BCC55\Bin\bcc32.cfg
contents:
-I"C:\Borland\Bcc55\include"
-L"C:\Borland\Bcc55\lib;C:\Borland\Bcc55\lib\PSDK"
- run
$ make -fmk_bc5.mak
- Why all the fuzz? I needed a working ctags.exe for my jEdit (http://www.jedit.org/) sidekick to display a somewhat useful tree of functions and variables at work.