diff --git a/php-mode.el b/php-mode.el index b95241b6..fc558ce6 100644 --- a/php-mode.el +++ b/php-mode.el @@ -576,7 +576,6 @@ PHP does not have an \"enum\"-like keyword." "iterable" "as" "break" - "catch all" "catch" "clone" "default" @@ -1583,12 +1582,6 @@ a completion list." ;; already fontified by another pattern. Note that using OVERRIDE ;; is usually overkill. `( - ;; Highlight variables, e.g. 'var' in '$var' and '$obj->var', but - ;; not in $obj->var() - ("->\\(\\sw+\\)\\s-*(" 1 'php-method-call) - - ("\\(\\$\\|->\\)\\([a-zA-Z0-9_]+\\)" 2 'php-property-name) - ;; Highlight all upper-cased symbols as constant ("\\<\\([A-Z_][A-Z0-9_]+\\)\\>" 1 'php-constant)