• Alan Mackenzie's avatar
    c-parse-state. Don't "append-lower-brace-pair" in certain · 99f7b0a6
    Alan Mackenzie authored
    circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
    recognised as a comment.
    
    * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
    as well as normal comment starter.
    (c-parse-state-get-strategy): Extra return possibility
    'back-and-forward.
    (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
    return value list to indicate replacement of a brace-pair cons
    with its car.
    (c-parse-state-1): With 'back-and-forward, only call
    c-append-lower-brace-pair-to state-cache when cons-separated.
    99f7b0a6
cc-engine.el 400 KB