projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2006-01-06 16:30:17 by simonmar]
[ghc-hetmet.git]
/
ghc
/
compiler
/
main
/
DriverPipeline.hs
diff --git
a/ghc/compiler/main/DriverPipeline.hs
b/ghc/compiler/main/DriverPipeline.hs
index
85099e8
..
171cecf
100644
(file)
--- a/
ghc/compiler/main/DriverPipeline.hs
+++ b/
ghc/compiler/main/DriverPipeline.hs
@@
-1396,9
+1396,9
@@
getOptionsFromSource file
| otherwise -> return []
getOptionsFromStringBuffer :: StringBuffer -> FilePath -> [(Int,String)]
| otherwise -> return []
getOptionsFromStringBuffer :: StringBuffer -> FilePath -> [(Int,String)]
-getOptionsFromStringBuffer buffer@(StringBuffer _ len# _) fn =
+getOptionsFromStringBuffer buffer@(StringBuffer _ len _) fn =
let
let
- ls = lines (lexemeToString buffer (I# len#)) -- lazy, so it's ok
+ ls = lines (lexemeToString buffer len) -- lazy, so it's ok
in
look 1 ls
where
in
look 1 ls
where