mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-24 04:43:25 +03:00
Fix SeqEmpty in Text.Lexer.Core.
This commit is contained in:
parent
2938e86421
commit
d819bf5a9d
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user