Simon Hengel pushed to branch wip/sol/pp-set-ghc-version at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • docs/users_guide/phases.rst
    ... ... @@ -624,7 +624,7 @@ Options affecting a Haskell pre-processor
    624 624
     
    
    625 625
         GHC sets the environment variable `GHC_VERSION` to the current GHC version when invoking
    
    626 626
         a pre-processor.  The pre-processor can use this to emit
    
    627
    -    backwards compatible code.
    
    627
    +    backward-compatible code.
    
    628 628
     
    
    629 629
         An example of a pre-processor is to convert your source files to the
    
    630 630
         input encoding that GHC expects, i.e. create a script ``convert.sh``