[commit: ghc] ghc-7.10: Add parsePattern parser entry point (dd928e1)
git at git.haskell.org
git at git.haskell.org
Tue Jun 23 12:42:33 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.10
Link : http://ghc.haskell.org/trac/ghc/changeset/dd928e1c3d3f3139856256dac05c1c3a56c087bc/ghc
>---------------------------------------------------------------
commit dd928e1c3d3f3139856256dac05c1c3a56c087bc
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date: Sun Jun 21 21:52:58 2015 +0200
Add parsePattern parser entry point
Reviewers: austin, thomie, alanz
Reviewed By: thomie, alanz
Subscribers: thomie, bgamari
Differential Revision: https://phabricator.haskell.org/D1005
GHC Trac Issues: #10556
(cherry picked from commit 38f374571290b8115ef5b82587ac2ec6c18e91f1)
>---------------------------------------------------------------
dd928e1c3d3f3139856256dac05c1c3a56c087bc
compiler/parser/Parser.y | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index 7f3f26a..9006206 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -31,7 +31,8 @@
-- parseState = mkPState flags buffer location in
-- @
module Parser (parseModule, parseImport, parseStatement,
- parseDeclaration, parseExpression, parseTypeSignature,
+ parseDeclaration, parseExpression, parsePattern,
+ parseTypeSignature,
parseFullStmt, parseStmt, parseIdentifier,
parseType, parseHeader) where
@@ -434,6 +435,7 @@ TH_QQUASIQUOTE { L _ (ITqQuasiQuote _) }
%name parseStatement stmt
%name parseDeclaration topdecl
%name parseExpression exp
+%name parsePattern pat
%name parseTypeSignature sigdecl
%name parseFullStmt stmt
%name parseStmt maybe_stmt
More information about the ghc-commits
mailing list