Variable: semantic-lex-c-string

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

Value

((looking-at "L?\\(\\s\"\\)")
 (semantic-lex-push-token
  (semantic-lex-token 'string
		      (point)
		      (save-excursion
			(goto-char
			 (match-beginning 1))
			(semantic-lex-unterminated-syntax-protection 'string
			  (forward-sexp 1)
			  (point))))))

Documentation

Detect and create a C string token.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(define-lex-regex-analyzer semantic-lex-c-string
  "Detect and create a C string token."
  "L?\\(\\s\"\\)"
  ;; Zing to the end of this string.
  (semantic-lex-push-token
   (semantic-lex-token
    'string (point)
    (save-excursion
      ;; Skip L prefix if present.
      (goto-char (match-beginning 1))
      (semantic-lex-unterminated-syntax-protection 'string
	(forward-sexp 1)
	(point))
      ))))