Function: semantic-lex-spp-first-token-arg-list
semantic-lex-spp-first-token-arg-list is a byte-compiled function
defined in lex-spp.el.gz.
Signature
(semantic-lex-spp-first-token-arg-list TOKEN)
Documentation
If TOKEN is a semantic-list, turn it into an SPP ARG LIST.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/lex-spp.el.gz
;;; ANALYZERS FOR NEW MACROS
;;
;; These utilities and analyzer declaration function are for
;; creating an analyzer which produces new macros in the macro table.
;;
;; There are two analyzers. One for new macros, and one for removing
;; a macro.
(defun semantic-lex-spp-first-token-arg-list (token)
"If TOKEN is a semantic-list, turn it into an SPP ARG LIST."
(when (and (consp token)
(symbolp (car token))
(eq 'semantic-list (car token)))
;; Convert TOKEN in place.
(let ((argsplit (split-string (semantic-lex-token-text token)
"[(), ]" t)))
(setcar token 'spp-arg-list)
(setcar (nthcdr 1 token) argsplit))
))