Handle `parse-partial-sexp' landing inside a comment opener
authorAlan Mackenzie <acm@muc.de>
Wed, 3 Apr 2013 17:50:39 +0000 (17:50 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 3 Apr 2013 17:50:39 +0000 (17:50 +0000)
commit691e26ae7d3b48f1cf23d87887da8d105b0f9516
treeab0c78ab667e921acd6b6cdd8ebb06bd705d423f
parent96bbc3099d778486295c700fa1f56595b7bc9754
Handle `parse-partial-sexp' landing inside a comment opener
(Bug#13244). Also adapt to the new values of element 7 of a parse
state.

* progmodes/cc-engine.el (c-state-pp-to-literal): New optional
parameter `not-in-delimiter'.  Handle being inside comment opener.
(c-invalidate-state-cache-1): Reckon with an extra "invalid"
character in case we're typing a '*' after a '/'.
(c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
instead by passing the parameter to c-state-pp-to-literal.

* progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
for elt. 7 of a parse state.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el