Skip to content

Commit

Permalink
Fix and/or confusion
Browse files Browse the repository at this point in the history
augustss committed Jan 1, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e76802a commit 258ee12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MicroCabal/Parse.hs
Original file line number Diff line number Diff line change
@@ -300,8 +300,8 @@ pField = do
pCond :: P Cond
pCond = pCor
where
pCor = foldr1 Cor <$> esepBy1 pCand (pStr "&&")
pCand = foldr1 Cand <$> esepBy1 pCnot (pStr "||")
pCor = foldr1 Cor <$> esepBy1 pCand (pStr "||")
pCand = foldr1 Cand <$> esepBy1 pCnot (pStr "&&")
pCnot = (Cnot <$> (pStr "!" *> pCnot)) <|> pCOp
pCOp = (CBool <$> pBool)
<|< (pKeyWordNC "arch" *> pParens (Carch <$> pName))

0 comments on commit 258ee12

Please sign in to comment.