Hi,
 
I'm using emacs 26.3.
 
Call:
 
(font-lock-add-keywords
'c-mode
'(
   ("\\<XXX\\>[^;]*;" 0 'font-lock-function-name-face t)))
 
Then visit a .c file with this line:
 
  XXX("aaa");
 
The line is rendered with font-lock-function-name-face, except the second " which has font-lock-warning-face.
Somehow emacs thinks there is an unfinished string literal.
 
- Jörg