From 114470474d2e037d16b736354070fa03181e8348 Mon Sep 17 00:00:00 2001 From: sof Date: Fri, 26 Oct 2001 00:53:27 +0000 Subject: [PATCH] [project @ 2001-10-26 00:53:27 by sof] Added support for a custom pre-processor pass: ghc -F -pgmF/path/to/a/pre/processor ... will now run /path/to/a/pre/processor over Haskell input sources. It is positioned in the compilation pipeline just before the compiler proper, but after unlit'ing and CPP'ing. The pre-processor is passed the following command-line when invoked: /path/to/a/pre/processor orig_input_source_file_path input_source_file output_source_file Additionally options can be fed directly to the pre-processor via -optF