Function: c-update-new-id

c-update-new-id is a byte-compiled function defined in cc-mode.el.gz.

Signature

(c-update-new-id END)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-mode.el.gz
(defun c-update-new-id (end)
  ;; Note the bounds of any identifier that END is in or just after, in
  ;; `c-new-id-start' and `c-new-id-end'.  Otherwise set these variables to
  ;; nil.  Set `c-new-id-is-type' unconditionally to nil.
  (save-excursion
    (goto-char end)
    (let ((id-beg (c-on-identifier)))
      (setq c-new-id-start id-beg
	    c-new-id-end (and id-beg
			      (progn (goto-char id-beg)
				     (c-forward-token-2)
				     (point)))
	    c-new-id-is-type nil))))