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