Import tomltestgen

Handful are failing.
This commit is contained in:
Thomas Pelletier
2021-03-26 09:51:35 -04:00
parent 390927a0cd
commit 636a75f316
5 changed files with 1072 additions and 0 deletions
+4
View File
@@ -1108,6 +1108,10 @@ func (p *parser) scanIntOrFloat(b []byte) (ast.Reference, []byte, error) {
break
}
if i == 0 {
return ast.Reference{}, b, fmt.Errorf("expected integer or float")
}
kind := ast.Integer
if isFloat {