summaryrefslogtreecommitdiff
path: root/pygments/lexers/rdf.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/rdf.py')
-rw-r--r--pygments/lexers/rdf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/rdf.py b/pygments/lexers/rdf.py
index f270cf44..8d16c14f 100644
--- a/pygments/lexers/rdf.py
+++ b/pygments/lexers/rdf.py
@@ -11,7 +11,7 @@
import re
-from pygments.lexer import RegexLexer, bygroups
+from pygments.lexer import RegexLexer, bygroups, default
from pygments.token import Keyword, Punctuation, String, Number, Operator, \
Whitespace, Name, Literal, Comment, Text
@@ -94,6 +94,6 @@ class SparqlLexer(RegexLexer):
(r'(@)([a-z]+(:?-[a-z0-9]+)*)',
bygroups(Operator, Name.Function), '#pop:2'),
(r'\^\^', Operator, '#pop:2'),
- (r'', Text, '#pop:2'),
+ default('#pop:2'),
],
}