1
0
forked from GitHub/gf-core

Factor out code for setting the console encoding

Moved similar low-level code blocks in Main and GFI for setting the console
encoding to the new module GF.System.Console.
This commit is contained in:
hallgren
2012-10-05 12:54:49 +00:00
parent 70dd62b4a0
commit 28f87140c7
4 changed files with 48 additions and 35 deletions

View File

@@ -54,7 +54,6 @@ library
random,
pretty,
mtl
--ghc-options: -O2
hs-source-dirs: src/compiler src/runtime/haskell
extensions:
exposed-modules:
@@ -127,7 +126,6 @@ executable gf
ghc-prof-options: -auto-all
--ghc-options: -O2
if impl(ghc>=7.0)
ghc-options: -rtsopts
hs-source-dirs: src/compiler src/runtime/haskell
@@ -148,6 +146,8 @@ executable gf
GF.Infra.Option
GF.Infra.UseIO
GF.Infra.CheckM
GF.System.Signal
GF.System.Console
GF.Command.Commands
GF.Command.Interpreter
GF.Command.Abstract