Variable: semantic-lex-make-command

semantic-lex-make-command is a variable defined in make.el.gz.

Value

((looking-at "^\\(	\\)")
 (let ((start (match-end 0)))
   (while
       (progn
	 (end-of-line)
	 (save-excursion (forward-char -1) (looking-at "\\\\")))
     (forward-char 1))
   (semantic-lex-push-token
    (semantic-lex-token 'shell-command start (point)))))

Documentation

Regexp for a command in a Makefile.

It consists of a line starting with TAB, and ending at the newline.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/make.el.gz
(define-lex-regex-analyzer semantic-lex-make-command
  "Regexp for a command in a Makefile.
It consists of a line starting with TAB, and ending at the newline."
  "^\\(\t\\)"
  (let ((start (match-end 0)))
    (while (progn (end-of-line)
		  (save-excursion (forward-char -1) (looking-at "\\\\")))
      (forward-char 1))
    (semantic-lex-push-token
     (semantic-lex-token 'shell-command start (point)))))