Font-lock in php-mode has a bug wherein certain language constructs inside comments are fontified as if they're not inside comments. This fixes those. In particular:
// case blah
In the first line, "blah" is fontified as a constant; in the second line, as a variable name; and in the third line, as a function name. The change causes them all to be fontified in the comment face, as they should. The change doesn't affect fontification of these constructs outside comments.
Log in to post a comment.