@@ -104,7 +104,7 @@ sourcePositionFC (P.SourcePos name line column) =
104-- This is useful when the position is needed in a way unrelated to the
104-- This is useful when the position is needed in a way unrelated to the
105-- heirarchy of parsers. Prefer using @withExtent@ and friends.
105-- heirarchy of parsers. Prefer using @withExtent@ and friends.
106getFC :: Parsing m => m FC
106getFC :: Parsing m => m FC
107−getFC = sourcePositionFC <$> P.getPosition
107+getFC = sourcePositionFC <$> P.getSourcePos
109-- | Add an extent (widen) our current parsing context.
109-- | Add an extent (widen) our current parsing context.
110addExtent :: MonadWriter FC m => FC -> m ()
110addExtent :: MonadWriter FC m => FC -> m ()