1. larvacea
  2. pygments-main

Commits

Georg Brandl  committed 66395f6

Add "#" as an operator to Scala (#663).

  • Participants
  • Parent commits b23a891
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/compiled.py

View file
  • Ignore whitespace
             (idrest, Name),
             (r'`[^`]+`', Name),
             (r'\[', Operator, 'typeparam'),
-            (r'[\(\)\{\};,.]', Operator),
+            (r'[\(\)\{\};,.#]', Operator),
             (op, Operator),
             (ur'([0-9][0-9]*\.[0-9]*|\.[0-9]+)([eE][+-]?[0-9]+)?[fFdD]?',
              Number.Float),