mirror of
https://github.com/notwa/lips
synced 2024-11-14 09:49:02 -08:00
fail to lex 0X hex prefix in favor of lowercase 0x
you are a terrible person if you do this
This commit is contained in:
parent
59994cd15d
commit
67ce15feee
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ function Lexer:read_number()
|
|||
self:nextc()
|
||||
return self:read_hex()
|
||||
elseif self.chr:find('%d') then
|
||||
if self.chr2 == 'x' or self.chr2 == 'X' then
|
||||
if self.chr2 == 'x' then
|
||||
self:nextc()
|
||||
self:nextc()
|
||||
return self:read_hex()
|
||||
|
|
Loading…
Reference in a new issue