mirror of
https://github.com/plexusorg/toml4j.git
synced 2024-10-31 17:29:14 +00:00
In number, underscore after dot is invalid
This commit is contained in:
parent
7aa496582c
commit
8c66284960
|
@ -48,6 +48,7 @@ class NumberConverter implements ValueConverter {
|
||||||
terminatable = false;
|
terminatable = false;
|
||||||
dottable = false;
|
dottable = false;
|
||||||
exponentable = false;
|
exponentable = false;
|
||||||
|
underscorable = false;
|
||||||
} else if ((c == 'E' || c == 'e') && exponentable && notLastChar) {
|
} else if ((c == 'E' || c == 'e') && exponentable && notLastChar) {
|
||||||
sb.append('E');
|
sb.append('E');
|
||||||
type = "exponent";
|
type = "exponent";
|
||||||
|
|
Loading…
Reference in a new issue