summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2017-01-17 15:56:24 (GMT)
committerDavid A. Madore <david+git@madore.org>2017-01-17 15:56:24 (GMT)
commit698d956eda9997834e6473034bf2f77926c2a86f (patch)
tree050fd8ac22cfb7755859b555a71162320449a072
parent4eaff56432b60cf7544f3d35fe41fa004401b20e (diff)
downloadinf105-698d956eda9997834e6473034bf2f77926c2a86f.zip
inf105-698d956eda9997834e6473034bf2f77926c2a86f.tar.gz
inf105-698d956eda9997834e6473034bf2f77926c2a86f.tar.bz2
Typo/thinko.
-rw-r--r--exercices2.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercices2.tex b/exercices2.tex
index 2a4416f..22c2eef 100644
--- a/exercices2.tex
+++ b/exercices2.tex
@@ -322,7 +322,7 @@ la grammaire comme suit :
|&\phantom{\rightarrow} \mathtt{begin}\ \mathit{InstrList}\ \mathtt{end}\\
\mathit{Conditional} &\rightarrow \mathtt{if}\ \mathit{Expression}\ \mathtt{then}\ \mathit{InstrNoSC}\ \mathtt{else}\ \mathit{Instruction}\\
|&\phantom{\rightarrow} \mathtt{if}\ \mathit{Expression}\ \mathtt{then}\ \mathit{Instruction}\\
-\mathit{InstrNoSC} &\rightarrow \mathtt{if}\ \mathit{Expression}\ \mathtt{then}\ \mathit{InstrNoSC}\ \mathtt{else}\ \mathit{InstrNoSC}\\
+\mathit{CondNoSC} &\rightarrow \mathtt{if}\ \mathit{Expression}\ \mathtt{then}\ \mathit{InstrNoSC}\ \mathtt{else}\ \mathit{InstrNoSC}\\
\mathit{InstrList} &\rightarrow \mathit{Instruction} \;|\; \mathit{Instruction}\ \mathit{InstrList}\\
\mathit{Expression} &\rightarrow \mathtt{true} \;|\; \mathtt{false} \;|\; \mathtt{happy} \;|\; \mathtt{trippy}\\
\end{aligned}