Fix index breakage.

This commit is contained in:
sperber 2002-01-04 14:59:18 +00:00
parent 394f9cdf3a
commit cb16f9966d
1 changed files with 23 additions and 18 deletions

View File

@ -23,12 +23,12 @@ delimiter character.
There are four possible choices for a \ex{handle-delim} parameter: There are four possible choices for a \ex{handle-delim} parameter:
\begin{inset} \begin{inset}
\begin{tabular}{|l|l|} \hline \begin{tabular}{|l|l|} \hline
\ex{handle-delim} & Meaning \\ \hline\hline \ex{handle-delim} & Meaning \\ \hline\hline
\ex{'trim} & Ignore delimiter character. \\ \ex{'trim} & Ignore delimiter character. \\
\ex{'peek} & Leave delimiter character in input stream. \\ \ex{'peek} & Leave delimiter character in input stream. \\
\ex{'concat} & Append delimiter character to returned value. \\ \ex{'concat} & Append delimiter character to returned value. \\
\ex{'split} & Return delimiter as second value. \\ \ex{'split} & Return delimiter as second value. \\
\hline \hline
\end{tabular} \end{tabular}
\end{inset} \end{inset}
The first case, \ex{'trim}, is the standard default for all the routines The first case, \ex{'trim}, is the standard default for all the routines
@ -77,8 +77,8 @@ See section~\ref{sec:char-sets} for information on character set manipulation.
\end{desc} \end{desc}
\dfni{read-delimited!} {char-set buf [port handle-delim start end]} \dfni{read-delimited!} {char-set buf [port handle-delim start end]}
{nchars or eof or \#f}{procedure} {nchars or eof or \#f}{procedure}
{read-delimited"!@\texttt{read-delimited"!}} {read-delimited"!@\texttt{read-delimited"!}}
\begin{desc} \begin{desc}
A side-effecting variant of \ex{read-delimited}. A side-effecting variant of \ex{read-delimited}.
@ -102,23 +102,23 @@ See section~\ref{sec:char-sets} for information on character set manipulation.
\dfni{\%read-delimited!} {char-set buf gobble? [port start end]} \dfni{\%read-delimited!} {char-set buf gobble? [port start end]}
{[char-or-eof-or-\#f \integer]}{procedure} {[char-or-eof-or-\#f \integer]}{procedure}
{"%read-delimited"!@\verb:"%read-delimited"!:} {\%read-delimited"!@\texttt{\%read-delimited"!}}
\begin{desc} \begin{desc}
This low-level delimited reader uses an alternate interface. This low-level delimited reader uses an alternate interface.
It returns two values: \var{terminator} and \var{num-read}. It returns two values: \var{terminator} and \var{num-read}.
\begin{description} \begin{description}
\item [terminator] \item [terminator]
A value describing why the read was terminated: A value describing why the read was terminated:
\begin{flushleft} \begin{flushleft}
\begin{tabular}{l@{\qquad$\Rightarrow$\qquad}l} \begin{tabular}{l@{\qquad$\Rightarrow$\qquad}l}
Character or eof-object & Read terminated by this value. \\ Character or eof-object & Read terminated by this value. \\
\ex{\#f} & Filled buffer without finding a delimiter. \ex{\#f} & Filled buffer without finding a delimiter.
\end{tabular} \end{tabular}
\end{flushleft} \end{flushleft}
\item [num-read] \item [num-read]
Number of characters read into \var{buf}. Number of characters read into \var{buf}.
\end{description} \end{description}
If the read is successfully terminated by reading a delimiter character, If the read is successfully terminated by reading a delimiter character,
@ -146,3 +146,8 @@ the procedure call.
The \var{skip-chars} argument may be a charset, a string, a character, or a The \var{skip-chars} argument may be a charset, a string, a character, or a
character predicate; it is coerced to a charset. character predicate; it is coerced to a charset.
\end{defundesc} \end{defundesc}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "man"
%%% End: