------------------------------------------------------------------------------- {-# LANGUAGE CPP #-} ------------------------------------------------------------------------------- module Blah98 ( run_tests ) where ------------------------------------------------------------------------------- #if NEW_IMPROVED_PATTERN_GRAMMAR #if USE_CURLY_BRACE_INSTEAD_OF_PAREN_FOR_SUBPATTERNS #error To run the tests, you must build with the flag USE_CURLY_BRACE_INSTEAD_OF_PAREN_FOR_SUBPATTERNS set False (the default). --import Blah98_new_grammar_braces #else import Blah98_new_grammar #endif #else import Blah98_old_grammar #endif -------------------------------------------------------------------------------