summaryrefslogtreecommitdiff
path: root/pygments/lexers/graph.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-09-20 00:12:54 +0200
committerGeorg Brandl <georg@python.org>2014-09-20 00:12:54 +0200
commitf7219e7b8b5236db12e077ba36f54182cd665941 (patch)
tree7a65d7f54e5f9b36a1b3342c79a1eb06a8198878 /pygments/lexers/graph.py
parentac4a2c47e625fdc12d83a07d360d678abd39af62 (diff)
parent33cb0a84a19b4e96d694eb99b490346f20e315d7 (diff)
downloadpygments-f7219e7b8b5236db12e077ba36f54182cd665941.tar.gz
Merged in pchaigno/pygments-main/prolog-ecl (pull request #374)
Diffstat (limited to 'pygments/lexers/graph.py')
-rw-r--r--pygments/lexers/graph.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/pygments/lexers/graph.py b/pygments/lexers/graph.py
index 6aa446c7..04ec3262 100644
--- a/pygments/lexers/graph.py
+++ b/pygments/lexers/graph.py
@@ -12,8 +12,8 @@
import re
from pygments.lexer import RegexLexer, include, bygroups, using, this
-from pygments.token import Keyword, Punctuation, Text, Comment, Operator, Name,\
- String, Number, Generic, Whitespace
+from pygments.token import Keyword, Punctuation, Comment, Operator, Name,\
+ String, Number, Whitespace
__all__ = ['CypherLexer']
@@ -30,7 +30,7 @@ class CypherLexer(RegexLexer):
"""
name = 'Cypher'
aliases = ['cypher']
- filenames = ['*.cyp','*.cypher']
+ filenames = ['*.cyp', '*.cypher']
flags = re.MULTILINE | re.IGNORECASE
@@ -43,7 +43,7 @@ class CypherLexer(RegexLexer):
include('strings'),
include('whitespace'),
include('barewords'),
- ],
+ ],
'comment': [
(r'^.*//.*\n', Comment.Single),
],
@@ -77,5 +77,3 @@ class CypherLexer(RegexLexer):
(r'\d+', Number),
],
}
-
-