Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132880 - php5 patch for ctags
Summary: php5 patch for ctags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 142605
Blocks:
  Show dependency tree
 
Reported: 2006-05-10 04:08 UTC by Ilya Hegai
Modified: 2007-05-08 23:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ctags-5.5.4-php5.patch (ctags-5.5.4-php5.patch,1.10 KB, patch)
2006-05-10 04:09 UTC, Ilya Hegai
Details | Diff
'const' keyword support added (ctags-5.5.4-php5.patch,1.66 KB, patch)
2006-05-29 04:53 UTC, Ilya Hegai
Details | Diff
PHP5 patch freshly from ctags' SVN repository (ctags-5.6-php5.patch,2.84 KB, patch)
2007-01-25 11:44 UTC, Dirk Tilger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Hegai 2006-05-10 04:08:28 UTC
patch from Christoph Frick pasted here - http://blog.bitflux.ch/archive/2004/04/15/ctags_for_php.html - allows to work with php5
Comment 1 Ilya Hegai 2006-05-10 04:09:12 UTC
Created attachment 86539 [details, diff]
ctags-5.5.4-php5.patch
Comment 2 Ilya Hegai 2006-05-10 04:11:17 UTC
if it will be accepted and included in ebuild, 'php' USE flag is supposed to be added
Comment 3 Ilya Hegai 2006-05-29 04:53:47 UTC
Created attachment 87794 [details, diff]
'const' keyword support added

I've just added 'const' keyword support
Comment 4 Mike Kelly (RETIRED) gentoo-dev 2007-01-11 15:34:09 UTC
Hi,

I'm not interested in commiting a patch against ctags-5.5.4, as we now have ctags-5.6 in the tree. Would you mind verifying that this patch works as intended against 5.6, or if not, submitting an updated patch? Or confirming if this patch is even needed anymore?
Comment 5 Dirk Tilger 2007-01-25 11:44:17 UTC
Created attachment 108116 [details, diff]
PHP5 patch freshly from ctags' SVN repository

The patch has been freshly obtained from the SVN repository using:

svn diff --notice-ancestry https://ctags.svn.sourceforge.net/svnroot/ctags/tags/Ctags-5_6/php.c https://ctags.svn.sourceforge.net/svnroot/ctags/trunk/php.c > files/ctags-5.6-php5.patch

I've patched it into the 5.6 ebuild and it works as expected for me (I'm seeing PHP5 class methods) both for PHP5 source files and PHP4 source files.
Comment 6 Mike Kelly (RETIRED) gentoo-dev 2007-05-08 23:23:41 UTC
This patch is included in dev-util/ctags-5.6-r1, which should hit your local sometime in the next few hours. Thanks for the report.