Function: c-awk-beyond-logical-line
c-awk-beyond-logical-line is a byte-compiled function defined in
cc-awk.el.gz.
Signature
(c-awk-beyond-logical-line &optional POS)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-awk.el.gz
(defun c-awk-beyond-logical-line (&optional pos)
;; Return the position just beyond the (apparent) current logical line, or the
;; one containing POS. This is usually the beginning of the next line which
;; doesn't follow an escaped EOL. At EOB, this will be EOB.
;;
;; Point is unchanged.
;;
;; This is guaranteed to be "safe" for syntactic analysis, i.e. outwith any
;; comment, string or regexp. IT MAY WELL BE that this function should not be
;; executed on a narrowed buffer.
(save-excursion
(if pos (goto-char pos))
(end-of-line)
(while (and (< (point) (point-max))
(eq (char-before) ?\\))
(end-of-line 2))
(if (< (point) (point-max))
(1+ (point))
(point))))