From 8c662849605491736aca2889f7e439a263998ab6 Mon Sep 17 00:00:00 2001 From: "moandji.ezana" Date: Tue, 17 Feb 2015 10:24:45 +0200 Subject: [PATCH] In number, underscore after dot is invalid --- src/main/java/com/moandjiezana/toml/NumberConverter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/moandjiezana/toml/NumberConverter.java b/src/main/java/com/moandjiezana/toml/NumberConverter.java index 7d7bd02..a65578c 100644 --- a/src/main/java/com/moandjiezana/toml/NumberConverter.java +++ b/src/main/java/com/moandjiezana/toml/NumberConverter.java @@ -48,6 +48,7 @@ class NumberConverter implements ValueConverter { terminatable = false; dottable = false; exponentable = false; + underscorable = false; } else if ((c == 'E' || c == 'e') && exponentable && notLastChar) { sb.append('E'); type = "exponent";