• Alan Mackenzie's avatar
    CC Mode: Handle several consecutive noise macros in declaration contexts. · 95fb826d
    Alan Mackenzie authored
    In the bug scenario, the second and subsequent noise macros with parentheses
    were getting font-lock-type-face.
    
    * lisp/progmodes/cc-engine.el (c-end-of-token)
    (c-forward-noise-clause-not-macro-decl): New functions.
    (c-find-decl-prefix-search): Handle noise macros by skipping over them.
    (c-forward-decl-or-cast-1): In the loop checking for types, skip over all
    consecutive noise macros with parens, not just one.
    95fb826d
cc-engine.el 511 KB