Fix logic error causing number tokens to be parsed as though they had two decimal place indicators (periods).
This commit is contained in:
@@ -119,7 +119,7 @@ namespace JJX::json {
|
||||
if (decimal_present)
|
||||
break;
|
||||
decimal_present = true;
|
||||
token.value += c;
|
||||
//token.value += c; // This caused two dots to be inserted.
|
||||
}
|
||||
|
||||
// Scientific notation.
|
||||
|
Reference in New Issue
Block a user