Skip to content

Commit 0604772

Browse files
authored
Remove pointless lctx'
This is always the same as lctx.
1 parent 6e9d316 commit 0604772

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)