php: classes can be final

git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@734 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
jafl 2009-08-20 23:33:54 +00:00
parent a327bc8fe6
commit 2d5740cfd1
1 changed files with 2 additions and 2 deletions

4
php.c
View File

@ -64,8 +64,8 @@ static kindOption PhpKinds [] = {
static void installPHPRegex (const langType language)
{
addTagRegex(language, "^[ \t]*(abstract[ \t]+)?class[ \t]+([" ALPHA "_][" ALNUM "_]*)",
"\\2", "c,class,classes", NULL);
addTagRegex(language, "^[ \t]*((final|abstract)[ \t]+)*class[ \t]+([" ALPHA "_][" ALNUM "_]*)",
"\\3", "c,class,classes", NULL);
addTagRegex(language, "^[ \t]*interface[ \t]+([" ALPHA "_][" ALNUM "_]*)",
"\\1", "i,interface,interfaces", NULL);
addTagRegex(language, "^[ \t]*define[ \t]*\\([ \t]*['\"]?([" ALPHA "_][" ALNUM "_]*)",