From: Mark Wooding Date: Wed, 2 Aug 2017 09:41:05 +0000 (+0100) Subject: src/optparse.lisp: Use low-level slot accessor in `option' printer. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/8b8a885a8072a8e840bf99f83ef78b769121dc4a?hp=0e5c0b9edba8966aba72acb2b101b7a13d80f45a src/optparse.lisp: Use low-level slot accessor in `option' printer. If I try to use the access wrapper, I get compiler warnings about how the previous use of the function wasn't inlined; but if I declare the wrapper earlier then it might not inline anything. The printer is rarely used, so this isn't a bad place to be. --- diff --git a/src/optparse.lisp b/src/optparse.lisp index 16b5b7b..fff0e88 100644 --- a/src/optparse.lisp +++ b/src/optparse.lisp @@ -165,7 +165,7 @@ (opt-long-name o) (opt-arg-optional-p o) (opt-arg-name o) - (opt-documentation o))))) + (opt-%documentation o))))) (:constructor %make-option (&key long-name tag negated-tag short-name arg-name arg-optional-p documentation