From e8634a3c275c10c15840f43e944dcac3020d38ed Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sat, 1 Feb 2014 20:45:44 -0800 Subject: [PATCH] Removed duplicate check for [[ a == b + 1 ]] --- ShellCheck/Parser.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/ShellCheck/Parser.hs b/ShellCheck/Parser.hs index 18bb227..e9efd92 100644 --- a/ShellCheck/Parser.hs +++ b/ShellCheck/Parser.hs @@ -329,7 +329,6 @@ readConditionContents single = do endedWith _ _ = False readCondAndOp = do - optional guardArithmetic id <- getNextId x <- try (string "&&" <|> string "-a") when (single && x == "&&") $ addNoteFor id $ Note ErrorC 1022 "You can't use && inside [..]. Use [[..]] instead."