rc #13

Merged
crumbtoo merged 196 commits from dev into main 2024-02-13 13:22:23 -07:00
Showing only changes of commit 4f66e71b9a - Show all commits

View File

@@ -115,7 +115,7 @@ alexGetByte inp = case inp ^. aiBytes of
& aiPrevChar .~ c
-- update the position
& aiPos %~ \ (ln,col) ->
if (inp ^. aiPrevChar) == '\n'
if c == '\n'
then (ln+1,1)
else (ln,col+1)
pure (b, inp')