Function: c-put-syn-tab
c-put-syn-tab is a byte-compiled function defined in cc-mode.el.gz.
Signature
(c-put-syn-tab POS VALUE)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-mode.el.gz
(defun c-put-syn-tab (pos value)
;; Set both the syntax-table and the c-fl-syn-tab text properties at POS to
;; VALUE (which should not be nil).
;; `(let ((-pos- ,pos)
;; (-value- ,value))
(if (equal value '(15))
(c-put-string-fence-trim-caches pos)
(c-put-syntax-table-trim-caches pos value))
(c-put-char-property pos 'c-fl-syn-tab value)
(cond
((null c-min-syn-tab-mkr)
(setq c-min-syn-tab-mkr (copy-marker pos t)))
((< pos c-min-syn-tab-mkr)
(move-marker c-min-syn-tab-mkr pos)))
(cond
((null c-max-syn-tab-mkr)
(setq c-max-syn-tab-mkr (copy-marker (1+ pos) nil)))
((>= pos c-max-syn-tab-mkr)
(move-marker c-max-syn-tab-mkr (1+ pos)))))