mirror of https://github.com/zachjs/sv2v.git
Revert "allow escaped newline in macro arguments"
This reverts commit ba7fbd5506.
This commit is contained in:
parent
8ae89a7bd4
commit
9880885412
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue