Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276902 | Differences between
and this patch

Collapse All | Expand All

(-)php.c (-2 / +2 lines)
Lines 73-80 Link Here
73
		"\\2", "d,define,constant definitions", NULL);
73
		"\\2", "d,define,constant definitions", NULL);
74
	addTagRegex(language, "(^[ \t]*(public|protected|private)?([ \t]*static)?[ \t]+)function[ \t]+&?[ \t]*([" ALPHA "_][" ALNUM "_]*)",
74
	addTagRegex(language, "(^[ \t]*(public|protected|private)?([ \t]*static)?[ \t]+)function[ \t]+&?[ \t]*([" ALPHA "_][" ALNUM "_]*)",
75
		"\\4", "f,function,functions", NULL);
75
		"\\4", "f,function,functions", NULL);
76
	addTagRegex(language, "(^|[ \t])\\$([" ALPHA "_][" ALNUM "_]*)[ \t]*=",
76
	addTagRegex(language, "(^[ \t]*(var|public|protected|private)([ \t]*static)?[ \t]+)\\$([" ALPHA "_][" ALNUM "_]*)",
77
		"\\2", "v,variable,variables", NULL);
77
		"\\4", "v,variable,variables", NULL);
78
78
79
	/* function regex is covered by PHP regex */
79
	/* function regex is covered by PHP regex */
80
	addTagRegex (language, "(^|[ \t])([A-Za-z0-9_]+)[ \t]*[=:][ \t]*function[ \t]*\\(",
80
	addTagRegex (language, "(^|[ \t])([A-Za-z0-9_]+)[ \t]*[=:][ \t]*function[ \t]*\\(",

Return to bug 276902