packages feed

language-lua2 0.1.0.1 → 0.1.0.2

raw patch · 2 files changed

+2/−2 lines, 2 files

Files

language-lua2.cabal view
@@ -1,5 +1,5 @@ name:                   language-lua2-version:                0.1.0.1+version:                0.1.0.2 synopsis:               Lua parser and pretty printer description:            Lua parser and pretty printer homepage:               http://github.com/mitchellwrosen/language-lua2
test/Spec.hs view
@@ -66,6 +66,6 @@  luaFromString :: String -> Maybe (Chunk ()) luaFromString s = either (const Nothing) Just (streamToEitherList (runLexer luaLexer "" s)) >>= \tks ->-    case fullParses (parser luaChunk tks) of+    case fullParses (parser luaChunk) tks of         ([c], _) -> Just (() <$ c)         _        -> Nothing