1. Georg Brandl
  2. pygments-main
  3. Pull requests

Pull requests

#336 Merged at e3fa253
Repository
Deleted repository
Branch
default (d5615ae701ea)
Repository
pygments-main
Branch
default

Reorder regex expressions so that C keywords are matched before a label

Author
  1. Gaurav Jain
Reviewers
Description

Keywords need to be matched before C labels to correctly handle the default keyword in switch/case blocks. Added various token test cases to avoid regressions.

Comments (0)