Fix shadowing from last commit.

This commit is contained in:
John MacFarlane
2023-03-01 10:48:04 -08:00
parent 6b906879af
commit 52ef7cac7c
+4 -4
View File
@@ -80,10 +80,10 @@ pCSVUnquotedCell opts = T.pack <$>
pCSVDelim :: CSVOptions -> Parser ()
pCSVDelim opts = do
char (csvDelim opts)
let spaceChar = case csvDelim opts of
'\t' -> char ' '
_ -> oneOf " \t"
unless (csvKeepSpace opts) $ skipMany spaceChar
let sp = case csvDelim opts of
'\t' -> char ' '
_ -> oneOf " \t"
unless (csvKeepSpace opts) $ skipMany sp
endline :: Parser ()
endline = do