Correct the placement of c-cpp-delimiters when there're #s not at col 0.
commit20e527d0c5e5a4ba95f14ab1d0379c20557406ae
authorAlan Mackenzie <acm@muc.de>
Mon, 15 Apr 2013 16:10:24 +0000 (15 16:10 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 15 Apr 2013 16:10:24 +0000 (15 16:10 +0000)
tree370899a6aba412a28eab34677c57d5c3ee5e1fee
parentdabefae5beace8691ea548949c32686872ef9989
Correct the placement of c-cpp-delimiters when there're #s not at col 0.

        * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
        place a submatch around the #.
        * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP): Start
        a search at BOL.  Put the c-cpp-delimiter category text propertiy
        on the #, not BOL.
lisp/ChangeLog
lisp/progmodes/cc-langs.el
lisp/progmodes/cc-mode.el