Variable: wisent-python-lex-end-of-line

wisent-python-lex-end-of-line is a variable defined in python.el.gz.

Value

((looking-at "\\(\n\\|\\s>\\)")
 (if (wisent-python-implicit-line-joining-p)
     (setq semantic-lex-end-point (match-end 0))
   (semantic-lex-push-token
    (semantic-lex-token 'NEWLINE (point) (match-end 0)))))

Documentation

Detect and create Python newline tokens.

Just skip the newline character if the following line is an implicit continuation of current line.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/python.el.gz
(define-lex-regex-analyzer wisent-python-lex-end-of-line
  "Detect and create Python newline tokens.
Just skip the newline character if the following line is an implicit
continuation of current line."
  "\\(\n\\|\\s>\\)"
  (if (wisent-python-implicit-line-joining-p)
      (setq semantic-lex-end-point (match-end 0))
    (semantic-lex-push-token
     (semantic-lex-token 'NEWLINE (point) (match-end 0)))))