Function: peg--with-choicepoint
peg--with-choicepoint is a macro defined in peg.el.gz.
Signature
(peg--with-choicepoint VAR &rest BODY)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/peg.el.gz
(defmacro peg--with-choicepoint (var &rest body)
(declare (indent 1) (debug (symbolp form)))
`(let ((,var (cons (make-symbol "point") (make-symbol "actions"))))
`(let ((,(car ,var) (point))
(,(cdr ,var) peg--actions))
,@(list ,@body))))