one more bug fix :/
This commit is contained in:
parent
193c9cfd8b
commit
d4d47c9ddd
1 changed files with 1 additions and 1 deletions
|
|
@ -540,7 +540,7 @@ PhpHighlightRules = function() {
|
||||||
else if (value == "debugger")
|
else if (value == "debugger")
|
||||||
return "invalid.deprecated";
|
return "invalid.deprecated";
|
||||||
else
|
else
|
||||||
if(value.match(/\$[a-zA-Z][a-zA-Z0-9_]*|self|parent/))
|
if(value.match(/^\$[a-zA-Z][a-zA-Z0-9_]*$|^self$|^parent$/))
|
||||||
return "variable";
|
return "variable";
|
||||||
return "identifier";
|
return "identifier";
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue