From a5c918adf7837748d9c82d5b751469960b65c1bd Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 3 Aug 2017 15:37:58 -0400 Subject: [PATCH] Revert ":memo: stateNextSet." This reverts commit eac40e6b7c38bac50b2fb1e06535f7060bb4f707. --- src/Data/Syntax/Assignment.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Syntax/Assignment.hs b/src/Data/Syntax/Assignment.hs index f08bd2598..9387a05b3 100644 --- a/src/Data/Syntax/Assignment.hs +++ b/src/Data/Syntax/Assignment.hs @@ -336,7 +336,7 @@ data State ast grammar = State { stateOffset :: Int -- ^ The offset into the Source thus far reached, measured in bytes. , statePos :: Info.Pos -- ^ The (1-indexed) line/column position in the Source thus far reached. , stateError :: Maybe (Error grammar) -- ^ The most recently encountered error. Preserved for improved error messages in the presence of backtracking. - , stateNextSet :: Maybe IntSet.IntSet -- ^ The set of symbols recognized by the next rule, if knowable. + , stateNextSet :: Maybe IntSet.IntSet , stateCounter :: Int -- ^ Always incrementing counter that tracks how many nodes have been visited. , stateNodes :: [ast] -- ^ The remaining nodes to assign. Note that 'children' rules recur into subterms, and thus this does not necessarily reflect all of the terms remaining to be assigned in the overall algorithm, only those “in scope.” }