Variable: semantic-lex-string

semantic-lex-string is a variable defined in lex.el.gz.

Value

((looking-at "\\s\"")
 (semantic-lex-push-token
  (semantic-lex-token 'string
		      (point)
		      (save-excursion
			(semantic-lex-unterminated-syntax-protection 'string
			  (forward-sexp 1)
			  (point))))))

Documentation

Detect and create a string token.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex.el.gz
(define-lex-regex-analyzer semantic-lex-string
  "Detect and create a string token."
  "\\s\""
  ;; Zing to the end of this string.
  (semantic-lex-push-token
   (semantic-lex-token
    'string (point)
    (save-excursion
      (semantic-lex-unterminated-syntax-protection 'string
	(forward-sexp 1)
	(point))
      ))))