summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Unlambda/Parser.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Unlambda/Parser.hs b/Unlambda/Parser.hs
index 18012e7..d5b8889 100644
--- a/Unlambda/Parser.hs
+++ b/Unlambda/Parser.hs
@@ -50,7 +50,7 @@ removeComments = uline `sepEndBy` eol >>= (return . concat)
uline = do
- l <- many builtin
+ l <- many (builtin <|> (oneOf " \t" >>= return . (:[])))
optional (char '#' >> many (noneOf "\r\n"))
return . concat $ l