summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-03-04 18:48:25 +0100
committerGeorg Brandl <georg@python.org>2014-03-04 18:48:25 +0100
commitff32b37c05f9bae70427bc58212a45e039fa9966 (patch)
treedc50e01e2a8ecb72a09c94c2762660919a9af48c /pygments/lexers/compiled.py
parent555fa0a796cea9443588299f993c268ac144e6d5 (diff)
downloadpygments-ff32b37c05f9bae70427bc58212a45e039fa9966.tar.gz
Fix a few non-Python3 compatible raw Unicode literals.
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r--pygments/lexers/compiled.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index 735c5daa..2fba337d 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -3972,10 +3972,10 @@ class Inform6Lexer(RegexLexer):
# Inform 7 maps these four character classes to their ASCII
# equivalents. To support Inform 6 inclusions within Inform 7,
# Inform6Lexer maps them too.
- _dash = ur'\-\u2010-\u2014'
- _dquote = ur'"\u201c\u201d'
- _squote = ur"'\u2018\u2019"
- _newline = ur'\n\u0085\u2028\u2029'
+ _dash = u'\\-\u2010-\u2014'
+ _dquote = u'"\u201c\u201d'
+ _squote = u"'\u2018\u2019"
+ _newline = u'\\n\u0085\u2028\u2029'
tokens = {
'root': [