Skip to content

Commit

Permalink
Fix SeqEmpty in Text.Lexer.Core.
Browse files Browse the repository at this point in the history
  • Loading branch information
ziman committed Mar 28, 2020
1 parent 2938e86 commit d819bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/contrib/Text/Lexer/Core.idr
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ scan (SeqEat r1 r2) tok str
assert_total (scan r2 tok' rest)
scan (SeqEmpty r1 r2) tok str
= do (tok', rest) <- scan r1 tok str
scan r2 tok' str
scan r2 tok' rest
scan (Alt r1 r2) tok str
= maybe (scan r2 tok str) Just (scan r1 tok str)

Expand Down

0 comments on commit d819bf5

Please sign in to comment.