mirror of
https://github.com/notwa/lips
synced 2024-11-14 17:59:02 -08:00
fix octal lexing
This commit is contained in:
parent
fbcd985e68
commit
67b36f2b07
1 changed files with 1 additions and 1 deletions
2
lips.lua
2
lips.lua
|
@ -585,7 +585,7 @@ function Lexer:read_number()
|
|||
return self:read_hex()
|
||||
elseif self.chr == '0' and self.chr2:find('%d') then
|
||||
self:nextc()
|
||||
return self:read_octal_number()
|
||||
return self:read_octal()
|
||||
else
|
||||
return self:read_decimal()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue