"Adam Langley" <[EMAIL PROTECTED]> writes:

> 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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to