diff --git a/chapters/statements.tex b/chapters/statements.tex index 539248e6c..e145ed2a5 100644 --- a/chapters/statements.tex +++ b/chapters/statements.tex @@ -9,7 +9,7 @@ \chapter{Statements and Algorithm Sections}\label{statements-and-algorithm-secti \section{Algorithm Sections}\label{algorithm-sections} -An \firstuse{algorithm section}\index{algorithm section} is a part of a class definition comprised of the keyword \lstinline!algorithm!\index{algorithm@\robustinline{algorithm}} followed by a sequence of statements. +An \firstuse{algorithm section}\index{algorithm!section} is a part of a class definition comprised of the keyword \lstinline!algorithm!\index{algorithm@\robustinline{algorithm}} followed by a sequence of statements. The formal syntax is as follows: \begin{lstlisting}[language=grammar] algorithm-section :