Parentheses in macros were getting incorrectly propertized with
the '(1) (punctuation) syntax-table text property. This was
due to a typo in the patch "CC Mode: Rationalize and optimize
cache invalidation (1)" from 2024-10-06. Correct this.
* lisp/progmodes/cc-mode.el (c-depropertize-CPP): Move the
first c-clear-syntax-table-with-value-trim-caches invocation
from inside the enclosing `when' form to after it.
(cherry picked from commit
b34c069d8250e9557d5ef5e7997a5a7e370c7ad2)
(setq m-beg (point))
(c-end-of-macro)
(when c-ml-string-opener-re
- (save-excursion (c-depropertize-ml-strings-in-region m-beg (point)))
- (c-clear-syntax-table-with-value-trim-caches m-beg (point) '(1))))
+ (save-excursion (c-depropertize-ml-strings-in-region m-beg (point))))
+ (c-clear-syntax-table-with-value-trim-caches m-beg (point) '(1)))
(while (and (< (point) end)
(setq ss-found