From cca81d199fddacc7acc4af35d03b088b9da5dada Mon Sep 17 00:00:00 2001 From: "marko.kocic" Date: Tue, 22 Sep 2009 12:22:44 +0000 Subject: [PATCH] Hlint: Error: Use better pragmas --- Commands/All.hs | 2 +- Options.hs | 2 +- Version.hs | 2 +- hledger.hs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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.