Function: c-clear-syntax-table-properties-trim-caches

c-clear-syntax-table-properties-trim-caches is a macro defined in cc-defs.el.gz.

Signature

(c-clear-syntax-table-properties-trim-caches FROM TO)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
(defmacro c-clear-syntax-table-properties-trim-caches (from to)
  ;; Remove all occurrences of the 'syntax-table property in (FROM TO) and
  ;; invalidate the four caches from the first position from which the
  ;; property was removed, if any.
  (declare (debug t))
  `(let ((first (c-clear-char-properties ,from ,to 'syntax-table)))
     (when first
       (c-truncate-lit-pos/state-cache first))))