Skip to content

Commit 25c8c6d

Browse files
authored
Merge pull request #159 from josephcsible/patch-1
Remove pointless lctx'
2 parents 6e9d316 + 0604772 commit 25c8c6d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/NFA.hs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,7 @@ scanner2nfa enc Scanner{scannerTokens = toks} startcodes
111111
accept r_e rctxt_accept
112112
return (RightContextRExp r_b)
113113

114-
let lctx' = case lctx of
115-
Nothing -> Nothing
116-
Just st -> Just st
117-
118-
accept e (Acc prio code lctx' rctx_e)
114+
accept e (Acc prio code lctx rctx_e)
119115
return b
120116

121117
tok_transitions toks_with_states start_code start_state = do

0 commit comments

Comments
 (0)