Handle "#" operator properly inside macro. Fix coding bug.
commite726f2058c98e68c951bdb290fe68dac2a84ff65
authorAlan Mackenzie <acm@muc.de>
Sat, 31 Jan 2015 21:44:47 +0000 (31 21:44 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 31 Jan 2015 21:44:47 +0000 (31 21:44 +0000)
treea4fd40dd272840c9b288c7d23e9f72ea14cbaae1
parent618931b5b614df307cfe74c2175287e3f6dfa2a0
Handle "#" operator properly inside macro.  Fix coding bug.

cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): On finding a "#" which
looks like the start of a macro, check it isn't already inside a macro.

cc-engine.el (c-state-safe-place): Don't record a new "safe" position
into the list of them when this is beyond our current position.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-mode.el