[commit: ghc] master: Remove redundant parser entry point (e4bf4bf)
git at git.haskell.org
git at git.haskell.org
Fri Jul 3 20:44:32 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/e4bf4bf07aa37e96b29d8602eb46aa90d5cd00fb/ghc
>---------------------------------------------------------------
commit e4bf4bf07aa37e96b29d8602eb46aa90d5cd00fb
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date: Fri Jul 3 19:36:48 2015 +0200
Remove redundant parser entry point
`parseFullStmt` and `parseStatement` exposed the same parser entry
point.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: gibiansky, alanz, thomie, bgamari
Differential Revision: https://phabricator.haskell.org/D1014
>---------------------------------------------------------------
e4bf4bf07aa37e96b29d8602eb46aa90d5cd00fb
compiler/parser/Parser.y | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index 6a9dc47..b20b50c 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -33,7 +33,7 @@
module Parser (parseModule, parseImport, parseStatement,
parseDeclaration, parseExpression, parsePattern,
parseTypeSignature,
- parseFullStmt, parseStmt, parseIdentifier,
+ parseStmt, parseIdentifier,
parseType, parseHeader) where
-- base
@@ -604,7 +604,6 @@ TH_QQUASIQUOTE { L _ (ITqQuasiQuote _) }
%name parseExpression exp
%name parsePattern pat
%name parseTypeSignature sigdecl
-%name parseFullStmt stmt
%name parseStmt maybe_stmt
%name parseIdentifier identifier
%name parseType ctype
More information about the ghc-commits
mailing list