@@ -240,8 +240,8 @@ eatMultiCommentHelp pos end row col openComments =
240-- DOCUMENTATION COMMENT
240-- DOCUMENTATION COMMENT
243−docComment :: P.Parser E.Decl ()
243+docComment :: (Row -> Col -> x) -> (Row -> Col -> x) -> (Row -> Col -> x) -> P.Parser x ()
244−docComment =
244+docComment toExpectation toTabError toEndlessError =
245 P.Parser $ \(P.State pos end indent row col) cok _ cerr eerr ->
245 P.Parser $ \(P.State pos end indent row col) cok _ cerr eerr ->
247 !pos3 = plusPtr pos 3
247 !pos3 = plusPtr pos 3
@@ -262,7 +262,7 @@ docComment =
263 cok () newState
263 cok () newState
265− MultiTab -> cerr newRow newCol (E.DeclSpace E.HasTab)
265+ MultiTab -> cerr newRow newCol toTabError
266− MultiEndless -> cerr row col E.EndlessDocComment
266+ MultiEndless -> cerr row col toEndlessError
268− eerr row col E.DeclDeadend
268+ eerr row col toExpectation