Function: semantic-c-lex-ignore-newline

semantic-c-lex-ignore-newline is a byte-compiled function defined in c.el.gz.

Signature

(semantic-c-lex-ignore-newline)

Documentation

Detect and ignore newline tokens.

Use this ONLY if newlines are not whitespace characters (such as when they are comment end characters).

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(define-lex-regex-analyzer semantic-c-lex-ignore-newline
  "Detect and ignore newline tokens.
Use this ONLY if newlines are not whitespace characters (such as when
they are comment end characters)."
  ;; Just like semantic-lex-ignore-newline, but also ignores
  ;; trailing \.
  "\\s-*\\\\?\\s-*\\(\n\\|\\s>\\)"
  (setq semantic-lex-end-point (match-end 0)))