Removed unnecessary old code from the lexer
This commit is contained in:
parent
81e10ae1ea
commit
c69daba89a
|
@ -523,10 +523,6 @@ proc parseNumber(self: Lexer) =
|
|||
not self.done():
|
||||
discard self.step()
|
||||
self.createToken(kind)
|
||||
if kind == Binary:
|
||||
# To make our life easier, we pad the binary number in here already
|
||||
while (self.tokens[^1].lexeme.len() - 2) mod 8 != 0:
|
||||
self.tokens[^1].lexeme = "0b" & "0" & self.tokens[^1].lexeme[2..^1]
|
||||
|
||||
|
||||
proc parseBackticks(self: Lexer) =
|
||||
|
|
Loading…
Reference in New Issue