kdl-org / kdl

the kdl document language specifications
https://kdl.dev
Other
1.1k stars 61 forks source link

Add missing expected file #217

Closed tabatkins closed 2 years ago

tabatkins commented 2 years ago

Per the grammar (decimal := integer ('.' [0-9] [0-9_]*)? exponent?), underscores in the fraction part should be allowed (as in node 1.0_2, the contents of the corresponding input file), but there was no expected_kdl file for this test case, indicating it's supposed to be a parse failure.

I'm assuming this was a mistake, since underscores in the fraction part make complete sense (and are allowed in the other two parts of a decimal number).