]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Fix calculation of c-parse-state when there're macros with braces
authorAlan Mackenzie <acm@muc.de>
Sat, 6 Mar 2021 15:22:25 +0000 (15:22 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 6 Mar 2021 15:22:25 +0000 (15:22 +0000)
commit1d43c1854a5cd8305200f6cff8ff8e80cb2b4b8a
tree372d9157f825641dac3eb6ab9ff46fecd3666e17
parentb8e3f338a67ca9c440f52ff2a6a9ac98dd5e0154
CC Mode: Fix calculation of c-parse-state when there're macros with braces

This fixes bug #46951.

* lisp/progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
Ensure the starting point for backward scanning is not within a macro which
doesn't contain HERE.
lisp/progmodes/cc-engine.el