Function: wisent-grammar-EXPAND
wisent-grammar-EXPAND is a byte-compiled function defined in
grammar.el.gz.
Signature
(wisent-grammar-EXPAND SYMB NONTERM)
Documentation
Expand call to EXPAND grammar macro.
Return the form to parse from within a nonterminal. SYMB is a $I placeholder symbol that gives the bounds of the area to parse. NONTERM is the nonterminal symbol to start with.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/grammar.el.gz
(defun wisent-grammar-EXPAND (symb nonterm)
"Expand call to EXPAND grammar macro.
Return the form to parse from within a nonterminal.
SYMB is a $I placeholder symbol that gives the bounds of the area to
parse.
NONTERM is the nonterminal symbol to start with."
(unless (member nonterm (semantic-grammar-start))
(error "EXPANDFULL macro called with %s, but not used with %%start"
nonterm))
(let (($ri (wisent-grammar-region-placeholder symb)))
(if $ri
`(semantic-bovinate-from-nonterminal
(car ,$ri) (cdr ,$ri) ',nonterm)
(error "Invalid form (EXPAND %s %s)" symb nonterm))))