# Commits

committed 715dc6d

Apply new algorithmic macros.

• Participants
• Parent commits 6dda3bb

# chapters/chapter3.tex

 	\vfill
 	\item The pseudo-code for each nonterminal is:
 		\begin{scriptsize}
-		\begin{myprocedure}{$A$}
+		\begin{myprocedure}{$A$}{}
 		\SetKwFunction{call}{call}
 		\Input{A production $A \bnfbody \alpha_1\dots\alpha_k$.}
 		\Begin{
 \begin{frame}[t]{Algorithm of Handle Pruning}
 	\begin{scriptsize}
 	\begin{myalgorithm}
-	\SetKwFunction{throw}{Throw}
 	\SetKwInOut{hypothesis}{Hypothesis}
 	\Input{A string of terminals $\omega$. A grammar $G$.}
 	\Output{A sequence of reductions of $\omega$, or an error if no sequence was found.}
 	\SetKwFunction{Shift}{Shift}
 	\SetKwFunction{Reduce}{Reduce}
 	\SetKwFunction{Accept}{Accept}
-	\SetKwFunction{Throw}{Throw}
 	\SetKwFunction{print}{print}
 	\Input{An input string $w$ and an $LR$-parsing table with functions ACTION and GOTO for a grammar $G$.}
 	\Output{If $w$ is in $L(G)$, the reduction steps of a bottom-up parse for $w$; otherwise, an error indication.}
 				$stopParser$ \affect \tok{true}\;
 			}
 			\Else{
-				\Throw~\str{"No production found"}\;
+				\throw~\str{"No production found"}\;
 			}
 		}
 	}