Open noughtmare opened 6 years ago
While on this topic, should the lexer be compliant with this specification (meaning no oct/hex numbers and support for negative and scientific numbers)? Happy to submit a patch for that.
I think that that compliance with that specification is a good target.
(meaning no oct/hex numbers and support for negative and scientific numbers)
Yeah, it is strange that it was implemented this way in the first place.
Zeroes are not recognized correctly when they are not in pairs:
The zero in the example above will not be highlighted as a number.
The two zeroes will be recognized again.
The last zero in a sequence of three zeroes will not be recognized again.