Python lexer mishighlights numbers

Issue #397 resolved
created an issue

Just noticed that 0x1234 highlights the 0 as a float and the remainder as a name (x1234). I think the easiest (and possibly most correct fix) is requiring either a decimal point or exponent to be a float, that way it can stay first in the list of numbers.

Comments (5)

  1. Log in to comment