From 8c48250df5e67bc11b051ca72ca42dc0509d98b1 Mon Sep 17 00:00:00 2001 From: paltherr Date: Thu, 27 Nov 2003 16:21:47 +0000 Subject: - Fixed some typos --- doc/reference/ScalaReference.tex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/reference/ScalaReference.tex b/doc/reference/ScalaReference.tex index 5e0fa75442..9b3c4096c7 100644 --- a/doc/reference/ScalaReference.tex +++ b/doc/reference/ScalaReference.tex @@ -964,11 +964,12 @@ The class definition ~\lstinline@case class X(), Y(n: int) extends Z@~ expands t \item The object definition ~\lstinline@case object Red, Green, Blue extends Color@~ expands to -\begin{\lstlisting} +\begin{lstlisting} case object Red extends Color; case object Green extends Color; case object Blue extends Color . -\end{lstisting} +\end{lstlisting} +\end{itemize} \section{Value Declarations and Definitions} \label{sec:valdef} @@ -1047,7 +1048,7 @@ val xs = x$\Dollar$._2; | id `:' Type `=' `_' \end{lstlisting} -A sequence of variable declarations \listinline@var x$_1$, ..., x$_n$: T@ +A sequence of variable declarations \lstinline@var x$_1$, ..., x$_n$: T@ is equivalent to -- cgit v1.2.3