Basic constructor macro for vl-parsestate structures.
(make-vl-parsestate [:warnings <warnings>])
This is the usual way to construct vl-parsestate structures. It simply conses together a structure with the specified fields.
This macro generates a new vl-parsestate structure from scratch. See also change-vl-parsestate, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-vl-parsestate (&rest args) (std::make-aggregate 'vl-parsestate args '((:warnings)) 'make-vl-parsestate nil))
Function:
(defun vl-parsestate (warnings) (declare (xargs :guard (vl-warninglist-p warnings))) (declare (xargs :guard t)) (let ((__function__ 'vl-parsestate)) (declare (ignorable __function__)) (b* ((warnings (mbe :logic (vl-warninglist-fix warnings) :exec warnings))) (cons :vl-parsestate warnings))))