Function: c-pps-to-string-delim
c-pps-to-string-delim is a byte-compiled function defined in
cc-mode.el.gz.
Signature
(c-pps-to-string-delim END)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-mode.el.gz
(defun c-pps-to-string-delim (end)
;; parse-partial-sexp forward to the next string quote, which is deemed to
;; be a closing quote. Return nil.
;;
;; We remove string-fence syntax-table text properties from characters we
;; pass over.
(let* ((start (point))
(no-st-s `(0 nil nil ?\" nil nil 0 nil ,start nil nil))
(st-s `(0 nil nil t nil nil 0 nil ,start nil nil))
no-st-pos st-pos
)
(parse-partial-sexp start end nil nil no-st-s 'syntax-table)
(setq no-st-pos (point))
(goto-char start)
(while (progn
(parse-partial-sexp (point) end nil nil st-s 'syntax-table)
(unless (bobp)
(c-clear-syn-tab (1- (point))))
(setq st-pos (point))
(and (< (point) end)
(not (eq (char-before) ?\")))))
(goto-char (min no-st-pos st-pos))
nil))