Function: parseclj-lex-comment

parseclj-lex-comment is a byte-compiled function defined in parseclj-lex.el.

Signature

(parseclj-lex-comment)

Documentation

Return a lex token representing a comment.

Source Code

;; Defined in ~/.emacs.d/elpa/parseclj-20231203.1905/parseclj-lex.el
(defun parseclj-lex-comment ()
  "Return a lex token representing a comment."
  (let ((pos (point)))
    (goto-char (line-end-position))
    (when (equal (char-after (point)) ?\n)
      (right-char))
    (parseclj-lex-token :comment (buffer-substring-no-properties pos (point)) pos)))