aboutsummaryrefslogtreecommitdiff
path: root/boot/lexer.ll
diff options
context:
space:
mode:
Diffstat (limited to 'boot/lexer.ll')
-rw-r--r--boot/lexer.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/lexer.ll b/boot/lexer.ll
index ba54433..e944560 100644
--- a/boot/lexer.ll
+++ b/boot/lexer.ll
@@ -210,7 +210,7 @@ to {
}
}
0[b|B]{BIGIT}+ {
- std::uint64_t result = strtoull(yytext, NULL, 2);
+ std::uint64_t result = strtoull(yytext + 2, NULL, 2);
if (errno == ERANGE)
{