From 5518b008b8df51c861e9e6040236ebe7ec5f854c Mon Sep 17 00:00:00 2001 From: Vincent LE GOFF Date: Fri, 29 Mar 2019 15:51:23 +0100 Subject: toml: fix parsing comments (denoland/deno_std#311) Original: https://github.com/denoland/deno_std/commit/a48fdd6a298e48a60dd8d56f2b459294892abfc3 --- toml/testdata/float.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'toml/testdata/float.toml') diff --git a/toml/testdata/float.toml b/toml/testdata/float.toml index 92f0b6d17..6a384179c 100644 --- a/toml/testdata/float.toml +++ b/toml/testdata/float.toml @@ -1,17 +1,17 @@ [float] # fractional -flt1 = +1.0 -flt2 = 3.1415 -flt3 = -0.01 +flt1 = +1.0 # Comment +flt2 = 3.1415 # Comment +flt3 = -0.01 # Comment # exponent -flt4 = 5e+22 -flt5 = 1e6 -flt6 = -2E-2 +flt4 = 5e+22 # Comment +flt5 = 1e6 # Comment +flt6 = -2E-2 # Comment # both -flt7 = 6.626e-34 -flt8 = 224_617.445_991_228 +flt7 = 6.626e-34 # Comment +flt8 = 224_617.445_991_228 # Comment # infinity sf1 = inf # positive infinity sf2 = +inf # positive infinity -- cgit v1.2.3