florianschanda / miss_hit

MATLAB Independent, Small & Safe, High Integrity Tools - code formatter and more
GNU General Public License v3.0
162 stars 21 forks source link

Support hex/binary literals #177

Closed florianschanda closed 3 years ago

florianschanda commented 3 years ago

I've incorrectly claimed that we're compatible with 2019b, but that is not the case: https://uk.mathworks.com/help/releases/R2019b/matlab/matlab_prog/specify-hexadecimal-and-binary-numbers.html

All of these should be lexed as number tokens:

0x2A
0b101010
0x2As32
0xFFs8