From b9194b8a9d9b4aea35f12389c80594cb92f87bb9 Mon Sep 17 00:00:00 2001 From: Sankalp Gambhir <sankalp.gambhir42@gmail.com> Date: Mon, 24 Mar 2025 11:59:40 +0100 Subject: [PATCH] Ex 3.3.4: fix incorrect parsing result --- info/exercises/src/ex-03/ex/compute.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info/exercises/src/ex-03/ex/compute.tex b/info/exercises/src/ex-03/ex/compute.tex index 4107262..418f76b 100644 --- a/info/exercises/src/ex-03/ex/compute.tex +++ b/info/exercises/src/ex-03/ex/compute.tex @@ -197,7 +197,7 @@ corresponding error cell in the parsing table is \((Term, +)\). \item \(2 ~\mathbf{EOF}\) \checkmark \item \(2 * 3 + 4 ~\mathbf{EOF}\) \checkmark - \item \(2 + 3 * 4 ~\mathbf{EOF}\) fails on the \(*\). Error at \((Add, *)\). + \item \(2 + 3 * 4 ~\mathbf{EOF}\) \checkmark \end{enumerate} Example step-by-step LL(1) parsing state for \(2 * 3 + 4\): -- GitLab