I've a preprocessor (xhp) that allows me to write unquoted text in php code e.g.:
<foo> my enemies' base </foo> might appear in a .php file, but as soon as emacs sees that single quote it sees the entire rest of the file as being in a string.
- I can't figure out where 'font-lock-syntactic-keywords' is getting set in (c-mode), but it has a syntax table associated with it that seems to cause this
- (c-in-literal) returns 'string as well, so maybe I need to solve this deeper in the code than at the font-lock level, if anyone has any tips on this it would be appreciated
The simplest solution that I'd be happy with would be just assuming the string is one-line only.