Merge branch 'compiler-refactor' of https://git.nocturn9x.space/nocturn9x/peon into compiler-refactor

This commit is contained in:
Mattia Giambirtone 2023-02-11 13:44:52 +01:00
commit 197367edae
1 changed files with 0 additions and 4 deletions

View File

@ -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) =