diff --git a/src/Rules.Framework.Rql/Pipeline/Scan/Scanner.cs b/src/Rules.Framework.Rql/Pipeline/Scan/Scanner.cs index 7be2bb2f..4c6a2d07 100644 --- a/src/Rules.Framework.Rql/Pipeline/Scan/Scanner.cs +++ b/src/Rules.Framework.Rql/Pipeline/Scan/Scanner.cs @@ -206,7 +206,7 @@ private static Token HandleNumber(ScanContext scanContext) static void ConsumeDigits(ScanContext scanContext) { - while (IsNumeric(scanContext.GetNextChar()) && scanContext.MoveNext()) + while (IsNumeric(scanContext.GetNextChar())) { if (!scanContext.MoveNext()) {