Merge branch 'compiler-refactor' of https://git.nocturn9x.space/nocturn9x/peon into compiler-refactor
This commit is contained in:
commit
197367edae
|
@ -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