chiark / gitweb /
src/class-output.lisp: Fix missing parentheses around `me' in message macros.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 15 May 2018 10:04:53 +0000 (11:04 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000 (19:58 +0100)
What was I thinking?

src/class-output.lisp

index 806de35..ee77a2c 100644 (file)
@@ -185,7 +185,7 @@ (defmethod hook-output progn ((class sod-class) (reason (eql :h)) sequencer)
             (when varargsp
               (format stream "#ifdef SOD__HAVE_VARARGS_MACROS~%"))
             (format stream "#define ~A(~{~A~^, ~}) ~
-                                  ~A->_vt->~A.~A(~{~A~^, ~})~%"
+                                  (~A)->_vt->~A.~A(~{~A~^, ~})~%"
                     (message-macro-name class entry)
                     (nreverse in-names)
                     me