From 1cc46b1fd5ce794d3a1519c65dcf4aded317598b Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Sat, 21 Mar 2015 12:57:18 +0100 Subject: [PATCH] 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 --- compiler/parser/Parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y index 832b6c970a..9389708c67 100644 --- a/compiler/parser/Parser.y +++ b/compiler/parser/Parser.y @@ -28,7 +28,7 @@ -- filename = "\" -- 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, @@ -1684,7 +1684,7 @@ atype :: { LHsType RdrName } -- Two or more [ty, ty, ty] must be a promoted list type, just as -- if you had written '[ty, ty, ty] - -- (One means a list type, zero means the list type constructor, + -- (One means a list type, zero means the list type constructor, -- so you have to quote those.) | '[' ctype ',' comma_types1 ']' {% addAnnotation (gl $2) AnnComma (gl $3) >> -- GitLab