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