Removed duplicate check for [[ a == b + 1 ]]
This commit is contained in:
parent
9ae776530b
commit
e8634a3c27
|
@ -329,7 +329,6 @@ readConditionContents single = do
|
||||||
endedWith _ _ = False
|
endedWith _ _ = False
|
||||||
|
|
||||||
readCondAndOp = do
|
readCondAndOp = do
|
||||||
optional guardArithmetic
|
|
||||||
id <- getNextId
|
id <- getNextId
|
||||||
x <- try (string "&&" <|> string "-a")
|
x <- try (string "&&" <|> string "-a")
|
||||||
when (single && x == "&&") $ addNoteFor id $ Note ErrorC 1022 "You can't use && inside [..]. Use [[..]] instead."
|
when (single && x == "&&") $ addNoteFor id $ Note ErrorC 1022 "You can't use && inside [..]. Use [[..]] instead."
|
||||||
|
|
Loading…
Reference in New Issue