Actually we don't care about start of doc, only line.
This commit is contained in:
parent
f5a9dec3d6
commit
5beb321241
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ eol = void "\n" <|> void "\r\n" <|> Parsec.eof
|
|||
sol :: Parser ()
|
||||
sol = do
|
||||
p <- getPosition
|
||||
if sourceLine p == 1 && sourceColumn p == 1
|
||||
if sourceColumn p == 1
|
||||
then pure ()
|
||||
else fail "Not at start of line/document"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue