mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-24 16:51:38 +03:00
a minor cosmetic change in ‘tests/Expr.hs’
This commit is contained in:
parent
79ceb7962f
commit
2b6df377ef
@ -151,7 +151,7 @@ integer = lexeme (read <$> some digitChar <?> "integer")
|
||||
-- representation.
|
||||
|
||||
expr :: MonadParsec s m Char => m Node
|
||||
expr = makeExprParser term table <?> "expression"
|
||||
expr = makeExprParser term table
|
||||
|
||||
term :: MonadParsec s m Char => m Node
|
||||
term = parens expr <|> (Val <$> integer) <?> "term"
|
||||
|
Loading…
Reference in New Issue
Block a user