Skip to content

Commit

Permalink
fix: resolve bug scanning number tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
luispfgarces committed Jun 5, 2024
1 parent 2b204f3 commit 94662f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rules.Framework.Rql/Pipeline/Scan/Scanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit 94662f4

Please sign in to comment.