c0parser 0.1 → 0.1.0.1
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- c0parser.cabal +1/−1
- src/Language/C0/Parser/C0Parser.hs +2/−2
c0parser.cabal view
@@ -1,5 +1,5 @@ Name: c0parser-Version: 0.1+Version: 0.1.0.1 Synopsis: Simple C0 Parser Description: The package contains a parser for C0 programs. The C0-language is introduced in the basic programming course \"Algorithmisches Denken und imperative Programmierung\" (WS 2011/12 and later) at the University of Bonn.
src/Language/C0/Parser/C0Parser.hs view
@@ -24,9 +24,9 @@ yesNo input = case runP pYesNo [] "While Parsing C0 Program ..." input of Right b -> b- Left e -> error "The impossible happened! A never failing parser failed."+ Left e -> error ("The impossible happened! A never failing parser failed with: " ++ show e) -pYesNo = (pProgram >> return True) <|> return False+pYesNo = (try pProgram >> return True) <|> return False wsOrCmts :: CharParser [String] () wsOrCmts = do