tree-sitter-cpp
tree-sitter-cpp copied to clipboard
Capital letters break hexadecimal, binary numeric literals
a = 0b001101
and a = 0x3fff
are parsed appropriately with the binary and hexadecimal showing up as a numeric literal.
However, a = 0B001101
and a = 0X3FFF
will show the beginning 0 as a numeric, and the rest will break.