Skip to content

Commit 811e6ff

Browse files
author
Jaro Reinders
committed
Fix loc advance leak
1 parent 79f05a6 commit 811e6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/ParserCombinators/UU/BasicInstances.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ data Str a s loc = Str { -- | the unconsumed part of the input
8383
-- | the accumulated error messages
8484
msgs :: [Error loc],
8585
-- | the current input position
86-
pos :: loc,
86+
pos :: !loc,
8787
-- | we want to avoid deletions after insertions
8888
deleteOk :: !Bool
8989
}

0 commit comments

Comments
 (0)