1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

remove old types and

This commit is contained in:
Alexander Medvednikov
2019-06-25 22:19:17 +02:00
parent f26e65a943
commit f3f24b25bb
6 changed files with 13 additions and 20 deletions

View File

@ -85,7 +85,7 @@ fn (s mut Scanner) ident_number() string {
if c == `.` {
is_float = true
}
is_good_hex := is_hex && (c == `x` || c == `u` || (c >= `a` && c <= `f`))
is_good_hex := is_hex && (c == `x` || (c >= `a` && c <= `f`))
// 1e+3, 1e-3, 1e3
if !is_hex && c == `e` {
next := s.text[s.pos + 1]