Added a lookahead to fix errors parsing hybrid / phryexian mana
This commit is contained in:
parent
04b4c0e451
commit
2a02c96f2f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ mana :: Parser Cost
|
|||
mana = do
|
||||
colorless' <- (many colorless)
|
||||
colored' <- (many colored)
|
||||
hybrid' <- (many hybrid)
|
||||
hybrid' <- (manyTill hybrid $ try $ lookAhead $ many phyrexian)
|
||||
phyrexian' <- (many phyrexian)
|
||||
return $ Cost (colorless' ++ colored') hybrid' phyrexian'
|
||||
|
||||
|
|
Loading…
Reference in a new issue