Variable: semantic-lex-cpp-undef

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

Value

((looking-at "^\\s-*#\\s-*undef\\s-+\\(\\(\\sw\\|\\s_\\)+\\)")
 (let
     ((start
       (match-beginning 1))
      (end
       (match-end 1)))
   (semantic-lex-spp-symbol-remove
    (buffer-substring-no-properties start end))
   (semantic-lex-push-token
    (semantic-lex-token 'spp-macro-undef start end))))

Documentation

A #undef of a symbol.

Remove the symbol from the semantic preprocessor. Return the defined symbol as a special spp lex token.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/c.el.gz
(define-lex-spp-macro-undeclaration-analyzer semantic-lex-cpp-undef
  "A #undef of a symbol.
Remove the symbol from the semantic preprocessor.
Return the defined symbol as a special spp lex token."
  "^\\s-*#\\s-*undef\\s-+\\(\\(\\sw\\|\\s_\\)+\\)" 1)