summaryrefslogtreecommitdiff
path: root/src/compiler/GFI.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-10-18 20:01:22 +0000
committerhallgren <hallgren@chalmers.se>2012-10-18 20:01:22 +0000
commit584b6ba86d15e7ff471f94d2d120375ba3604553 (patch)
tree09fa0850d6637108e0ce370ee55006dddb309025 /src/compiler/GFI.hs
parent9a022a141ebcd0228cbc75aaadf32e7d1b84f207 (diff)
Use NOINLINE for build info and darcs version info
... to avoid unnecessary recompilation of other modules.
Diffstat (limited to 'src/compiler/GFI.hs')
-rw-r--r--src/compiler/GFI.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GFI.hs b/src/compiler/GFI.hs
index 9c62d1fd0..634e52164 100644
--- a/src/compiler/GFI.hs
+++ b/src/compiler/GFI.hs
@@ -177,7 +177,7 @@ execute1 opts gfenv0 s0 =
pOpts style q ("-qual" :ws) = pOpts style Qualified ws
pOpts style q ws = (style,q,unwords ws)
- (style,q,s) = pOpts TermPrintDefault Qualified (tail (words s0))
+ (style,q,s) = pOpts TermPrintDefault Qualified ws
case runP pExp (encodeUnicode utf8 s) of
Left (_,msg) -> putStrLn msg