diff options
Diffstat (limited to 'parser')
-rw-r--r-- | parser/CC/Parser.hs | 2 |
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 |