summaryrefslogtreecommitdiff
path: root/src/compiler/GFI.hs
diff options
context:
space:
mode:
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