Skip to content

Commit

Permalink
fix infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS authored Nov 20, 2024
1 parent 7ada840 commit 456f775
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/tokenizer/mod.v
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ fn (mut t Tokenizer) read_number_mode(mode NumberMode) string {
report.error('number has unsuitable digit `${c}`', t.current_pos())
}
}
t.pos++
}
} else if t.text[t.pos] == `.` {
// 4.. a range
Expand Down

0 comments on commit 456f775

Please sign in to comment.