Function: semantic-lex-make-spp-table
semantic-lex-make-spp-table is a byte-compiled function defined in
lex-spp.el.gz.
Signature
(semantic-lex-make-spp-table SPECS)
Documentation
Convert spp macro list SPECS into an obarray and return it.
SPECS must be a list of (NAME . REPLACEMENT) elements, where:
NAME is the name of the spp macro symbol to define. REPLACEMENT a string that would be substituted in for NAME.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex-spp.el.gz
(defun semantic-lex-make-spp-table (specs)
"Convert spp macro list SPECS into an obarray and return it.
SPECS must be a list of (NAME . REPLACEMENT) elements, where:
NAME is the name of the spp macro symbol to define.
REPLACEMENT a string that would be substituted in for NAME."
;; Create the symbol hash table
(let ((semantic-lex-spp-macro-symbol-obarray (make-vector 13 0))
spec)
;; fill it with stuff
(while specs
(setq spec (car specs)
specs (cdr specs))
(semantic-lex-spp-symbol-set
(car spec)
(cdr spec)
semantic-lex-spp-macro-symbol-obarray))
semantic-lex-spp-macro-symbol-obarray))