Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
d5e97410
Commit
d5e97410
authored
Oct 19, 2006
by
basvandijk@home.nl
Browse files
A little abstraction
parent
f39ff24b
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/DriverPipeline.hs
View file @
d5e97410
...
...
@@ -416,9 +416,7 @@ runPipeline stop_phase dflags (input_fn, mb_phase) output maybe_loc
let
(
basename
,
suffix
)
=
splitFilename
input_fn
-- If we were given a -x flag, then use that phase to start from
start_phase
|
Just
x_phase
<-
mb_phase
=
x_phase
|
otherwise
=
startPhase
suffix
start_phase
=
fromMaybe
(
startPhase
suffix
)
mb_phase
-- We want to catch cases of "you can't get there from here" before
-- we start the pipeline, because otherwise it will just run off the
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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