@@ -52,7 +52,6 @@ chomp toError =
53 HasTab -> cerr newRow newCol (toError E.HasTab)
53 HasTab -> cerr newRow newCol (toError E.HasTab)
54 EndlessMultiComment -> cerr newRow newCol (toError E.EndlessMultiComment)
54 EndlessMultiComment -> cerr newRow newCol (toError E.EndlessMultiComment)
55− UnexpectedDocComment -> cerr newRow newCol (toError E.UnexpectedDocComment)
@@ -108,7 +107,6 @@ chompAndCheckIndent toSpaceError toIndentError =
109 HasTab -> cerr newRow newCol (toSpaceError E.HasTab)
108 HasTab -> cerr newRow newCol (toSpaceError E.HasTab)
110 EndlessMultiComment -> cerr newRow newCol (toSpaceError E.EndlessMultiComment)
109 EndlessMultiComment -> cerr newRow newCol (toSpaceError E.EndlessMultiComment)
111− UnexpectedDocComment -> cerr newRow newCol (toSpaceError E.UnexpectedDocComment)
@@ -119,7 +117,6 @@ data Status
121 | EndlessMultiComment
119 | EndlessMultiComment
122− | UnexpectedDocComment
125eatSpaces :: Ptr Word8 -> Ptr Word8 -> Row -> Col -> (# Status, Ptr Word8, Row, Col #)
122eatSpaces :: Ptr Word8 -> Ptr Word8 -> Row -> Col -> (# Status, Ptr Word8, Row, Col #)
@@ -189,7 +186,7 @@ eatMultiComment pos end row col =
189 else if P.unsafeIndex pos1 == 0x2D {- - -} then
186 else if P.unsafeIndex pos1 == 0x2D {- - -} then
191 if P.unsafeIndex pos2 == 0x7C {- | -} then
188 if P.unsafeIndex pos2 == 0x7C {- | -} then
192− (# UnexpectedDocComment, pos, row, col #)
189+ (# Good, pos, row, col #)
195 (# status, newPos, newRow, newCol #) =
192 (# status, newPos, newRow, newCol #) =