Function: semantic-lex-spp-save-table

semantic-lex-spp-save-table is a byte-compiled function defined in lex-spp.el.gz.

Signature

(semantic-lex-spp-save-table)

Documentation

Return a list of spp macros and values.

The return list is meant to be saved in a semanticdb table.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex-spp.el.gz
(defun semantic-lex-spp-save-table ()
  "Return a list of spp macros and values.
The return list is meant to be saved in a semanticdb table."
  (let (macros)
    (when (obarrayp semantic-lex-spp-dynamic-macro-symbol-obarray)
      (mapatoms
       (lambda (symbol)
         (setq macros (cons (cons (symbol-name symbol)
                                  (symbol-value symbol))
                            macros)))
       semantic-lex-spp-dynamic-macro-symbol-obarray))
    macros))