Function: wisent-parse-action

wisent-parse-action is a macro defined in wisent.el.gz.

Signature

(wisent-parse-action I AL)

Documentation

Return the next parser action.

I is a token item number and AL is the list of (item . action) available at current state. The first element of AL contains the default action for this state.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/wisent.el.gz
(defmacro wisent-parse-action (i al)
  "Return the next parser action.
I is a token item number and AL is the list of (item . action)
available at current state.  The first element of AL contains the
default action for this state."
  `(cdr (or (assq ,i ,al) (car ,al))))