Revert "allow escaped newline in macro arguments"

This reverts commit ba7fbd5506.
This commit is contained in:
Zachary Snow 2019-10-08 22:21:40 -04:00
parent 8ae89a7bd4
commit 9880885412
1 changed files with 1 additions and 5 deletions

View File

@ -780,11 +780,7 @@ takeMacroArguments = do
case (stack, ch) of
( s,'\\') -> do
ch2 <- takeChar
if ch2 == '\n'
then do
dropWhitespace
loop curr s
else loop (curr ++ [ch, ch2]) s
loop (curr ++ [ch, ch2]) s
([ ], ',') -> return (curr, False)
([ ], ')') -> return (curr, True)