X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/284f1fa2ace3e276052ff1bd7d66442500e693da..00d59354c311fb28730b7c9b117b0d91aac092cc:/src/codegen-impl.lisp diff --git a/src/codegen-impl.lisp b/src/codegen-impl.lisp index 84bdd18..ccc66a1 100644 --- a/src/codegen-impl.lisp +++ b/src/codegen-impl.lisp @@ -112,12 +112,12 @@ (setf (codegen-vars codegen) (cons (make-var-inst name type init) vars))) ((not (c-type-equal-p type (inst-type var))) - (error "(Internal) Redefining type for variable ~A." name))) + (error "(Internal) Redefining type for variable ~A" name))) name)) (export 'codegen) (defclass codegen (basic-codegen) - ((functions :initform nil :type list :accessor codegen-functions) + ((functions :initform nil :type list :reader codegen-functions) (stack :initform nil :type list :accessor codegen-stack)) (:documentation "A full-fat code generator which can generate and track functions.