Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alexbiehl-gc
GHC
Commits
14a17049
Commit
14a17049
authored
25 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1999-06-23 10:33:03 by simonmar]
rename -ddump-rdr to -ddump-parsed, and make it work.
parent
becac487
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ghc/compiler/main/CmdLineOpts.lhs
+2
-2
2 additions, 2 deletions
ghc/compiler/main/CmdLineOpts.lhs
ghc/compiler/main/Main.lhs
+13
-3
13 additions, 3 deletions
ghc/compiler/main/Main.lhs
with
15 additions
and
5 deletions
ghc/compiler/main/CmdLineOpts.lhs
+
2
−
2
View file @
14a17049
...
...
@@ -27,7 +27,7 @@ module CmdLineOpts (
opt_D_dump_foreign,
opt_D_dump_inlinings,
opt_D_dump_occur_anal,
opt_D_dump_
rdr
,
opt_D_dump_
parsed
,
opt_D_dump_realC,
opt_D_dump_rn,
opt_D_dump_rules,
...
...
@@ -305,7 +305,7 @@ opt_D_dump_flatC = lookUp SLIT("-ddump-flatC")
opt_D_dump_foreign = lookUp SLIT("-ddump-foreign-stubs")
opt_D_dump_inlinings = lookUp SLIT("-ddump-inlinings")
opt_D_dump_occur_anal = lookUp SLIT("-ddump-occur-anal")
opt_D_dump_
rdr
= lookUp SLIT("-ddump-
rdr
")
opt_D_dump_
parsed
= lookUp SLIT("-ddump-
parsed
")
opt_D_dump_realC = lookUp SLIT("-ddump-realC")
opt_D_dump_rn = lookUp SLIT("-ddump-rn")
opt_D_dump_simpl = lookUp SLIT("-ddump-simpl")
...
...
This diff is collapsed.
Click to expand it.
ghc/compiler/main/Main.lhs
+
13
−
3
View file @
14a17049
...
...
@@ -87,13 +87,18 @@ doIt (core_cmds, stg_cmds)
= doIfSet opt_Verbose
(hPutStr stderr "Glasgow Haskell Compiler, version " >>
hPutStr stderr compiler_version >>
hPutStr stderr ", for Haskell 98\n") >>
hPutStr stderr ", for Haskell 98\n" >>
hPutStr stderr "\tcompiled by GHC version " >>
hPutStr stderr booter_version >>
hPutStr stderr "\n") >>
-------------------------- Reader ----------------
show_pass "
Read
er" >>
_scc_ "
Read
er"
show_pass "
Pars
er" >>
_scc_ "
Pars
er"
parseModule >>= \ (mod_name, rdr_module) ->
dumpIfSet opt_D_dump_parsed "Parser" (ppr rdr_module) >>
dumpIfSet opt_D_source_stats "Source Statistics"
(ppSourceStats False rdr_module) >>
...
...
@@ -358,6 +363,11 @@ compiler_version =
go ls@[x,y] = '.':ls
go (x:xs) = x:go xs
booter_version
= case "\
\ __GLASGOW_HASKELL__" of
' ':n:ns -> n:'.':ns
' ':m -> m
\end{code}
\begin{code}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment