From 8987c73e1fd651a6be4fd3c62c9efff849151c80 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 8 Aug 2019 01:25:56 +0100 Subject: [PATCH 1/1] doc/concepts.tex, src/optparse.lisp: Rephrasing respectively. --- doc/concepts.tex | 10 +++++----- src/optparse.lisp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/concepts.tex b/doc/concepts.tex index b8dcacf..68780e2 100644 --- a/doc/concepts.tex +++ b/doc/concepts.tex @@ -144,9 +144,9 @@ This partial order is not quite sufficient for our purposes. For each class $C$, we shall need to extend it into a total order on $C$'s superclasses. This calculation is called \emph{superclass linearization}, and the result is a \emph{class precedence list}, which lists each of $C$'s superclasses -exactly once. If a superclass $B$ precedes (resp.\ follows) some other -superclass $A$ in $C$'s class precedence list, then we say that $B$ is a more -(resp.\ less) \emph{specific} superclass of $C$ than $A$ is. +exactly once. If a superclass $B$ precedes or follows some other superclass +$A$ in $C$'s class precedence list, then we say that $B$ is respectively a +more or less \emph{specific} superclass of $C$ than $A$. The superclass linearization algorithm isn't fixed, and extensions to the translator can introduce new linearizations for special effects, but the @@ -607,9 +607,9 @@ message. The method combination determines which direct method rôles are acceptable, and, for each rôle, the appropriate argument lists and return types. -One direct method, $M$, is said to be more (resp.\ less) \emph{specific} than +One direct method, $M$, is said to be more or less \emph{specific} than another, $N$, with respect to a receiving class~$C$, if the class defining -$M$ is a more (resp.\ less) specific superclass of~$C$ than the class +$M$ is respectively a more or less specific superclass of~$C$ than the class defining $N$. \subsubsection{The standard method combination} diff --git a/src/optparse.lisp b/src/optparse.lisp index 5017fe4..1de6dfe 100644 --- a/src/optparse.lisp +++ b/src/optparse.lisp @@ -672,7 +672,7 @@ RADIX may be nil to allow radix prefixes, or an integer between 2 and 36. An option-parse-error is signalled if the ARG is not a valid integer, or if it is not between MIN and MAX (either of which may be nil if no lower - resp. upper bound is wanted)." + or upper bound is wanted)." (multiple-value-bind (v end) (parse-c-integer arg :radix radix) (unless (and v (>= end (length arg))) (option-parse-error "Bad integer `~A'" arg)) -- 2.11.0