Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197032 Details for
Bug 276902
patch ctags-5.7 for better PHP5 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Implements the useful behaviour that only class member variables are tagged
ctags-5.7-php-class-member-variables-only.patch (text/plain), 745 bytes, created by
David Mudrák
on 2009-07-07 10:01:22 UTC
(
hide
)
Description:
Implements the useful behaviour that only class member variables are tagged
Filename:
MIME Type:
Creator:
David Mudrák
Created:
2009-07-07 10:01:22 UTC
Size:
745 bytes
patch
obsolete
>--- php.c 2009-07-07 11:42:53.000000000 +0200 >+++ php.c 2009-07-07 11:48:05.000000000 +0200 >@@ -73,8 +73,8 @@ > "\\2", "d,define,constant definitions", NULL); > addTagRegex(language, "(^[ \t]*(public|protected|private)?([ \t]*static)?[ \t]+)function[ \t]+&?[ \t]*([" ALPHA "_][" ALNUM "_]*)", > "\\4", "f,function,functions", NULL); >- addTagRegex(language, "(^|[ \t])\\$([" ALPHA "_][" ALNUM "_]*)[ \t]*=", >- "\\2", "v,variable,variables", NULL); >+ addTagRegex(language, "(^[ \t]*(var|public|protected|private)([ \t]*static)?[ \t]+)\\$([" ALPHA "_][" ALNUM "_]*)", >+ "\\4", "v,variable,variables", NULL); > > /* function regex is covered by PHP regex */ > addTagRegex (language, "(^|[ \t])([A-Za-z0-9_]+)[ \t]*[=:][ \t]*function[ \t]*\\(", >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276902
:
197030
|
197032
|
197070