]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Fix syntactic context of BOD sometimes being 'topmost-intro-cont
authorAlan Mackenzie <acm@muc.de>
Mon, 27 Aug 2018 20:37:49 +0000 (20:37 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 27 Aug 2018 20:37:49 +0000 (20:37 +0000)
commit66bf12b6a1777d8dd09f8ddcefe96314555d0134
tree31e6eb268a1876233918d67811ae482f4dd3b31c
parent3266e69dabfb36b2c9886a5e31b87e322d01ca7f
CC Mode: Fix syntactic context of BOD sometimes being 'topmost-intro-cont

This happened when the type of the previous function was a struct, etc.,
declaration.

* lisp/progmodes/cc-mode (c-guess-basic-syntax CASE 5N): Check here (for
'topmost-intro-cont) that the first opening brace after BOD is the opening
brace preceding the starting point.
lisp/progmodes/cc-engine.el