ZuxingGit / pygments

Pygments is a generic syntax highlighter written in Python
http://pygments.org/
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

#986 #9

Open adluu2k1 opened 6 months ago

adluu2k1 commented 6 months ago

https://github.com/pygments/pygments/issues/986

adluu2k1 commented 6 months ago

Fixed in 986/5f32983

Before:

Screenshot 2024-05-11 040005

After:

Screenshot 2024-05-11 035845

While doing this issue, I also found another unreported bug relating to C# numbers in general (Decimal, Hex, Bin, Float) being tokenized and annotated incorrectly. Fix for such bug is also included in the commit above.

adluu2k1 commented 5 months ago

Pull Request