Commits

Georg Brandl  committed c2ec415

Closes #426: Haskell single-line comment syntax update.

  • Participants
  • Parent commits 41a7a56

Comments (0)

Files changed (1)

File pygments/lexers/functional.py

             # Whitespace:
             (r'\s+', Text),
             #(r'--\s*|.*$', Comment.Doc),
-            (r'--(?![!#$%&*+./<=>?@\^|_~]).*?$', Comment.Single),
+            (r'--(?![!#$%&*+./<=>?@\^|_~:\\]).*?$', Comment.Single),
             (r'{-', Comment.Multiline, 'comment'),
             # Lexemes:
             #  Identifiers