[commit: ghc] master: Correct documentation in `Parser`. (1cc46b1)

git at git.haskell.org git at git.haskell.org
Sat Mar 21 12:00:24 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1cc46b1fd5ce794d3a1519c65dcf4aded317598b/ghc

>---------------------------------------------------------------

commit 1cc46b1fd5ce794d3a1519c65dcf4aded317598b
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Sat Mar 21 12:57:18 2015 +0100

    Correct documentation in `Parser`.
    
    Removed a trailing `in` from the final line which caused a compilation
    error. [skip ci]
    
    Reviewed by: thomie
    
    Differential Revision: https://phabricator.haskell.org/D744


>---------------------------------------------------------------

1cc46b1fd5ce794d3a1519c65dcf4aded317598b
 compiler/parser/Parser.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index 832b6c9..9389708 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -28,7 +28,7 @@
 --       filename = "\<interactive\>"
 --       location = mkRealSrcLoc (mkFastString filename) 1 1
 --       buffer = stringToStringBuffer str
---       parseState = mkPState flags buffer location in
+--       parseState = mkPState flags buffer location
 -- @
 module Parser (parseModule, parseImport, parseStatement,
                parseDeclaration, parseExpression, parseTypeSignature,



More information about the ghc-commits mailing list