Do not partially parse a file
This commit is contained in:
parent
300ef6e0c0
commit
813d891468
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ asmToken
|
||||||
fmap (uncurry TokenComment) (withSpan comment)
|
fmap (uncurry TokenComment) (withSpan comment)
|
||||||
|
|
||||||
parsePhase1 :: Parser Phase1
|
parsePhase1 :: Parser Phase1
|
||||||
parsePhase1 = many (space *> asmToken)
|
parsePhase1 = many (space *> asmToken) <* eof
|
||||||
|
|
||||||
-- | A small helper for visualizing the parse.
|
-- | A small helper for visualizing the parse.
|
||||||
--
|
--
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue