From 807e56355dcc278e4cc3d3925248305d6fe44777 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Tue, 27 Nov 2012 01:48:51 -0800 Subject: [PATCH] Punctuated message. --- ShellCheck/Parser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellCheck/Parser.hs b/ShellCheck/Parser.hs index bced3dd..766c5bf 100644 --- a/ShellCheck/Parser.hs +++ b/ShellCheck/Parser.hs @@ -434,7 +434,7 @@ readCondition = do close <- (try $ string "]]") <|> (string "]") <|> do let match = (if single then "]" else "]]") parseProblemAt opos ErrorC $ "Couldn't find matching " ++ match ++ "." - parseProblem ErrorC $ "Expected " ++ match + parseProblem ErrorC $ "Expected " ++ match ++ "." fail "condition" when (open == "[[" && close /= "]]") $ parseProblemAt cpos ErrorC "Did you mean ]] ?"