Visitar URL original
Fix parser for `natural-raw` by Gabriella439 · Pull Request #804 · dhall-lang/dhall-haskell · GitHub
Skip to content

Fix parser for natural-raw - #804

Merged
Gabriella439 merged 2 commits into
masterfrom
gabriel/fix_natural_parser
Jan 31, 2019
Merged

Gabriella439 merged 2 commits into
masterfrom
gabriel/fix_natural_parser

Conversation

@Gabriella439

Copy link
Copy Markdown
Collaborator

Fixes dhall-lang/dhall-lang#357

This uses Text.Megaparsec.Char.Lexer.decimal which matches the Dhall
grammar. The previous decimal parser was also accepting non-standard
hex and octal literals.

Fixes dhall-lang/dhall-lang#357

This uses `Text.Megaparsec.Char.Lexer.decimal` which matches the Dhall
grammar.  The previous `decimal` parser was also accepting non-standard
hex and octal literals.
@Gabriella439
Gabriella439 merged commit 1a94f55 into master Jan 31, 2019
@Gabriella439
Gabriella439 deleted the gabriel/fix_natural_parser branch January 31, 2019 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant