parser: Fix basic_scientific_numeral detection

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2023-07-24 09:46:18 +02:00
parent 95141510b1
commit 3e69770585

View File

@ -2108,7 +2108,7 @@ namespace stdex
decimal->invalidate();
}
if (!integer->interval.empty() &&
if (integer->interval.empty() &&
decimal->interval.empty())
{
// No integer part, no decimal part.