aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/parser.rs
AgeCommit message (Collapse)AuthorLines
2020-10-11Improve error message when parsing unquoted string (#385)Alex Tokarev-5/+14
* Improve error message when parsing unquoted string * Remove conversion to lowercase in parse_keylike() Converting keys to lowercase goes against TOML specification for floats. * Change error message for unquoted string
2019-08-23Allow zero-prefixed float exponents. (#322)Eric Huss-1/+0
2019-07-30Add line and column to all ErrorsAndres Suarez-14/+23
2019-07-28Show "column" in Error messagesAndres Suarez-77/+116
2019-07-28Fully expand error messages in testsAndres Suarez-92/+160
2019-05-08cargo fmtEric Huss-78/+165
2019-02-19Fix case sensitivity with T, Z, and E.Eric Huss-0/+1
2018-09-25Fix multi-line strings are not allowed for keyrhysd-0/+6
In spec https://github.com/toml-lang/toml#keys Quoted keys are clarified as > he exact same rules as either basic strings or literal strings TOML clearly distinguishes basic string and multi-line basic string (literal string is also). https://github.com/toml-lang/toml#string So table key and quoted key should not allow multi-line basic string and multi-line literal string. ABNF definition also describes that. https://github.com/toml-lang/toml/blob/master/toml.abnf ``` string = ml-basic-string / basic-string / ml-literal-string / literal-string quoted-key = basic-string / literal-string ``` `string` contains `ml-*` but `quoted-key` doesn't.
2017-11-12Move tests into their own crateDavid Tolnay-0/+495