From 73d3bd74f145aa8371b08e5e7e82f497fa20a163 Mon Sep 17 00:00:00 2001 From: Tab Atkins Jr Date: Mon, 4 Oct 2021 17:43:45 -0700 Subject: [PATCH] Add missing expected file 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). --- tests/test_cases/expected_kdl/underscore_in_fraction.kdl | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/test_cases/expected_kdl/underscore_in_fraction.kdl diff --git a/tests/test_cases/expected_kdl/underscore_in_fraction.kdl b/tests/test_cases/expected_kdl/underscore_in_fraction.kdl new file mode 100644 index 0000000..29bb938 --- /dev/null +++ b/tests/test_cases/expected_kdl/underscore_in_fraction.kdl @@ -0,0 +1 @@ +node 1.02