Function: c-forward-noise-clause

c-forward-noise-clause is a byte-compiled function defined in cc-engine.el.gz.

Signature

(c-forward-noise-clause &optional STOP-AT-END)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-forward-noise-clause (&optional stop-at-end)
  ;; Point is at a c-noise-macro-with-parens-names macro identifier.  Go
  ;; forward over this name, any parenthesis expression which follows it, and
  ;; any syntactic WS, ending up either at the next token or EOB or (when
  ;; STOP-AT-END is non-nil) directly after the clause.  If there is an
  ;; unbalanced paren expression, leave point at it.  Always Return t.
  (let (pos)
    (or (c-forward-over-token)
	(goto-char (point-max)))
    (setq pos (point))
    (c-forward-syntactic-ws)
    (when (and (eq (char-after) ?\()
	       (c-go-list-forward))
      (setq pos (point)))
    (goto-char pos)
    (unless stop-at-end
      (c-forward-syntactic-ws))
    t))