PeppaPEG icon indicating copy to clipboard operation
PeppaPEG copied to clipboard

Report some invalid TOML example cases

Open soasme opened this issue 2 years ago • 0 comments

Describe the bug The provided tests/toml-v1.0.peg can't capture some cases.

  1. \uxxxx / \UXXXXXXXX out of range. "Any Unicode character may be escaped with the \uXXXX or \UXXXXXXXX forms. The escape codes must be valid Unicode scalar values."
  2. Redefining table/array_table or providing duplicated keys should be invalid.

soasme avatar Aug 21 '21 04:08 soasme