aboutsummaryrefslogtreecommitdiff
path: root/parser/CC
diff options
context:
space:
mode:
Diffstat (limited to 'parser/CC')
-rw-r--r--parser/CC/Parser.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/CC/Parser.hs b/parser/CC/Parser.hs
index 3183dea..bbabe3c 100644
--- a/parser/CC/Parser.hs
+++ b/parser/CC/Parser.hs
@@ -147,7 +147,7 @@ emptyLines :: Parser ()
emptyLines = (try (whitespace >> newline) >> emptyLines) <|> try (whitespace >> eof) <|> return ()
whitespace :: Parser ()
-whitespace = void (many (char ' '))
+whitespace = void (many (void (char ' ') <|> void (try (string "\n "))))
getPosition :: Parser SourcePos
getPosition = do