diff --git a/Commands/All.hs b/Commands/All.hs index 106c3f958..e183116a5 100644 --- a/Commands/All.hs +++ b/Commands/All.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -cpp #-} +{-# LANGUAGE CPP #-} {-| The Commands package defines all the commands offered by the hledger diff --git a/Options.hs b/Options.hs index dfb795e8d..4604dbac1 100644 --- a/Options.hs +++ b/Options.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -cpp #-} +{-# LANGUAGE CPP #-} {-| Command-line options for the application. -} diff --git a/Version.hs b/Version.hs index 1b373cc12..6865995d1 100644 --- a/Version.hs +++ b/Version.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -cpp #-} +{-# LANGUAGE CPP #-} {- Version-related utilities. See the Makefile for details of our version numbering policy. diff --git a/hledger.hs b/hledger.hs index 2aeb4c05c..18e1a4387 100644 --- a/hledger.hs +++ b/hledger.hs @@ -1,5 +1,5 @@ -- #!/usr/bin/env runhaskell <- sp doesn't like -{-# OPTIONS_GHC -cpp #-} +{-# LANGUAGE CPP #-} {-| hledger - a ledger-compatible text-based accounting tool.