Function: ebnf-iso-term

ebnf-iso-term is a byte-compiled function defined in ebnf-iso.el.gz.

Signature

(ebnf-iso-term TOKEN)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/ebnf-iso.el.gz
;;; term = factor, ['-', exception];
;;;
;;; exception = factor (* without <meta identifier> *);

(defun ebnf-iso-term (token)
  (let ((factor (ebnf-iso-factor token)))
    (if (not (eq (car factor) 'except))
	;; factor
	factor
      ;; factor - exception
      (let ((ebnf-no-meta-identifier t))
	(ebnf-token-except (cdr factor) (ebnf-iso-factor (ebnf-iso-lex)))))))