1. Norbert Melzer
  2. pygments-main


Rob Simmons  committed 1dd9f0a

Delete a line of unreachable code

  • Participants
  • Parent commits 3dc7fdf
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/functional.py

View file
  • Ignore whitespace
     # Callbacks for distinguishing tokens and reserved words
     def long_id_callback(self, match):
         if match.group(1) in self.alphanumid_reserved: token = Error
-        elif match.group(1) in self.symbolicid_reserved: token = Error
         else: token = Name.Namespace
         yield match.start(1), token, match.group(1)
         yield match.start(2), Punctuation, match.group(2)