toml-parser 2.0.1.1 → 2.0.1.2
raw patch · 3 files changed
+9/−2 lines, 3 filesdep ~time
Dependency ranges changed: time
Files
- ChangeLog.md +5/−0
- src/Toml/Syntax/Lexer.x +3/−1
- toml-parser.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,10 @@ # Revision history for toml-parser +## 2.0.1.2++* Reject inputs with out-of-bounds time zone offsets in accordance+ with the toml-tests test suite.+ ## 2.0.1.1 * Fixes bug that prohibited non-ASCII characters in `'''` strings.
src/Toml/Syntax/Lexer.x view
@@ -76,8 +76,10 @@ @time_hour = $digit {2} @time_minute = $digit {2} @time_second = $digit {2}+@offset_hour = [01] $digit | 2 [0-3]+@offset_minute = [0-5] $digit @time_secfrac = "." $digit+-@time_numoffset = [\+\-] @time_hour ":" @time_minute+@time_numoffset = [\+\-] @offset_hour ":" @offset_minute @time_offset = [Zz] | @time_numoffset @partial_time = @time_hour ":" @time_minute ":" @time_second @time_secfrac?
toml-parser.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: toml-parser-version: 2.0.1.1+version: 2.0.1.2 synopsis: TOML 1.0.0 parser description: TOML parser using generated lexers and parsers with