language-ats 0.1.0.3 → 0.1.0.4
raw patch · 3 files changed
+5/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- cabal.project.local +2/−2
- language-ats.cabal +2/−2
- src/Language/ATS/Parser.y +1/−0
cabal.project.local view
@@ -1,8 +1,8 @@ constraints: language-ats +development with-compiler: ghc-8.2.2 optimization: 2-tests: True-benchmarks: True+-- tests: True+-- benchmarks: True documentation: True haddock-hoogle: True haddock-internal: True
language-ats.cabal view
@@ -1,5 +1,5 @@ name: language-ats-version: 0.1.0.3+version: 0.1.0.4 synopsis: Parser and pretty-printer for ATS. description: Parser and pretty-printer for [ATS](http://www.ats-lang.org/), written with Happy and Alex. homepage: https://github.com/vmchale/language-ats#readme@@ -8,7 +8,7 @@ author: Vanessa McHale maintainer: vamchale@gmail.com copyright: Copyright: (c) 2018 Vanessa McHale-category: Language, Lexer, Parser, Pretty Printer+category: Language, Lexer, Parser, Pretty Printer, ATS build-type: Simple extra-doc-files: README.md extra-source-files: stack.yaml
src/Language/ATS/Parser.y view
@@ -640,6 +640,7 @@ Declaration : include string { Include $2 } | define { Define $1 } | define identifierSpace string { Define ($1 ++ " " ++ to_string $2 ++ $3) } -- FIXME better approach?+ | define identifier string { Define ($1 ++ " " ++ to_string $2 ++ $3) } -- FIXME better approach? | define identifierSpace intLit { Define ($1 ++ " " ++ to_string $2 ++ " " ++ show $3) } | cblock { CBlock $1 } | lineComment { Comment (to_string $1) }