[commit: ghc] master: Remove dead code. Fix comment typo. (abeb2bb)
git at git.haskell.org
git at git.haskell.org
Mon Jun 30 08:35:14 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/abeb2bbc5f2237783476d53f44e5b7e6490c4e7e/ghc
>---------------------------------------------------------------
commit abeb2bbc5f2237783476d53f44e5b7e6490c4e7e
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date: Mon Jun 30 10:34:36 2014 +0200
Remove dead code. Fix comment typo.
>---------------------------------------------------------------
abeb2bbc5f2237783476d53f44e5b7e6490c4e7e
compiler/hsSyn/HsExpr.lhs | 4 +---
compiler/hsSyn/HsUtils.lhs | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/compiler/hsSyn/HsExpr.lhs b/compiler/hsSyn/HsExpr.lhs
index aa7923f..69b6df6 100644
--- a/compiler/hsSyn/HsExpr.lhs
+++ b/compiler/hsSyn/HsExpr.lhs
@@ -79,8 +79,6 @@ noSyntaxExpr = HsLit (HsString (fsLit "noSyntaxExpr"))
type CmdSyntaxTable id = [(Name, SyntaxExpr id)]
-- See Note [CmdSyntaxTable]
-noSyntaxTable :: CmdSyntaxTable id
-noSyntaxTable = []
\end{code}
Note [CmdSyntaxtable]
@@ -88,7 +86,7 @@ Note [CmdSyntaxtable]
Used only for arrow-syntax stuff (HsCmdTop), the CmdSyntaxTable keeps
track of the methods needed for a Cmd.
-* Before the renamer, this list is 'noSyntaxTable'
+* Before the renamer, this list is an empty list
* After the renamer, it takes the form @[(std_name, HsVar actual_name)]@
For example, for the 'arr' method
diff --git a/compiler/hsSyn/HsUtils.lhs b/compiler/hsSyn/HsUtils.lhs
index ae7866c..42838ef 100644
--- a/compiler/hsSyn/HsUtils.lhs
+++ b/compiler/hsSyn/HsUtils.lhs
@@ -4,7 +4,7 @@
Here we collect a variety of helper functions that construct or
analyse HsSyn. All these functions deal with generic HsSyn; functions
-which deal with the intantiated versions are located elsewhere:
+which deal with the instantiated versions are located elsewhere:
Parameterised by Module
---------------- -------------
More information about the ghc-commits
mailing list