
20 Jan
2008
20 Jan
'08
6:33 p.m.
"Adam Langley"
Has anyone a workaround for this, or a way to get the preprocessor to output a newline?
You can use cpphs with the --layout flag, to preserve newlines in macro expansion. http://haskell.org/cpphs For instance, with ghc you need to add the following flags: ghc -cpp -pgmPcpphs -optP--cpp -optP--layout Regards, Malcolm