Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,321
Issues
4,321
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
362
Merge Requests
362
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
4307f28b
Commit
4307f28b
authored
Aug 12, 2004
by
simonmar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2004-08-12 13:10:35 by simonmar]
avoid string gaps
parent
071c8bcd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
16 deletions
+12
-16
ghc/compiler/ghci/InteractiveUI.hs
ghc/compiler/ghci/InteractiveUI.hs
+7
-7
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverFlags.hs
+1
-2
ghc/compiler/main/Main.hs
ghc/compiler/main/Main.hs
+2
-3
ghc/compiler/ndpFlatten/FlattenMonad.hs
ghc/compiler/ndpFlatten/FlattenMonad.hs
+1
-2
ghc/compiler/ndpFlatten/Flattening.hs
ghc/compiler/ndpFlatten/Flattening.hs
+1
-2
No files found.
ghc/compiler/ghci/InteractiveUI.hs
View file @
4307f28b
{-# OPTIONS -#include "Linker.h" #-}
-----------------------------------------------------------------------------
-- $Id: InteractiveUI.hs,v 1.17
1 2004/08/12 13:06:51
simonmar Exp $
-- $Id: InteractiveUI.hs,v 1.17
2 2004/08/12 13:10:35
simonmar Exp $
--
-- GHC Interactive User Interface
--
...
...
@@ -77,12 +77,12 @@ import System.Posix.Internals ( setNonBlockingFD )
-----------------------------------------------------------------------------
ghciWelcomeMsg
=
"
\
\
___ ___ _
\n\
\
/ _
\\
/
\\
/
\\
/ __(_)
\n\
\
/ /_
\\
// /_/ / / | | GHC Interactive, version "
++
cProjectVersion
++
", for Haskell 98.
\n\
\
/ /_
\\\\
/ __ / /___| | http://www.haskell.org/ghc/
\n\
\
\\
____/
\\
/ /_/
\\
____/|_| Type :? for help.
\n
"
ghciWelcomeMsg
=
" ___ ___ _
\n
"
++
" / _
\\
/
\\
/
\\
/ __(_)
\n
"
++
" / /_
\\
// /_/ / / | | GHC Interactive, version "
++
cProjectVersion
++
", for Haskell 98.
\n
"
++
"/ /_
\\\\
/ __ / /___| | http://www.haskell.org/ghc/
\n
"
++
"
\\
____/
\\
/ /_/
\\
____/|_| Type :? for help.
\n
"
GLOBAL_VAR
(
commands
,
builtin_commands
,
[(
String
,
String
->
GHCi
Bool
)])
...
...
ghc/compiler/main/DriverFlags.hs
View file @
4307f28b
...
...
@@ -254,8 +254,7 @@ static_flags =
then
do
writeIORef
v_Split_object_files
True
add
v_Opt_C
"-fglobalise-toplev-names"
else
hPutStrLn
stderr
"warning: don't know how to split
\
\
object files on this architecture"
"warning: don't know how to split object files on this architecture"
)
)
------- Include/Import Paths ----------------------------------------
...
...
ghc/compiler/main/Main.hs
View file @
4307f28b
{-# OPTIONS -fno-warn-incomplete-patterns -optc-DNON_POSIX_SOURCE #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.13
6 2003/11/01 01:01:18 sof
Exp $
-- $Id: Main.hs,v 1.13
7 2004/08/12 13:10:40 simonmar
Exp $
--
-- GHC Driver program
--
...
...
@@ -99,8 +99,7 @@ main =
-- an IO exception probably isn't our fault, so don't panic
IOException
_
->
hPutStrLn
stderr
(
show
exception
)
AsyncException
StackOverflow
->
hPutStrLn
stderr
"stack overflow: use +RTS -K<size>
\
\
to increase it"
hPutStrLn
stderr
"stack overflow: use +RTS -K<size> to increase it"
_other
->
hPutStr
stderr
(
show
(
Panic
(
show
exception
)))
exitWith
(
ExitFailure
1
)
)
$
do
...
...
ghc/compiler/ndpFlatten/FlattenMonad.hs
View file @
4307f28b
...
...
@@ -428,8 +428,7 @@ mk'indexOfP ty a1 a2 = mkFunApp indexOfPName [Type ty, a1, a2]
--
ctxtVarErr
::
FlattenState
->
Var
ctxtVarErr
s
=
case
ctxtVar
s
of
Nothing
->
panic
"FlattenMonad.ctxtVarErr: No context
\
\
variable available!"
Nothing
->
panic
"FlattenMonad.ctxtVarErr: No context variable available!"
Just
v
->
v
-- given the name of a known function and a set of arguments (needs to include
...
...
ghc/compiler/ndpFlatten/Flattening.hs
View file @
4307f28b
...
...
@@ -651,8 +651,7 @@ dftbpBinders indexBnds exprBnds =
return
((
fBnd
,
(
newBnd
:
restBnds
)),
liftTy
ty
)
dftbpBinders'
_
_
_
=
panic
"Flattening.dftbpBinders: index and expression binder lists
\
\
have different length!"
panic
"Flattening.dftbpBinders: index and expression binder lists have different length!"
getExprOfBind
::
CoreBind
->
CoreExpr
getExprOfBind
(
NonRec
_
expr
)
=
expr
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment