summaryrefslogtreecommitdiff
path: root/pygments/lexers/haxe.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2020-09-08 20:20:19 +0200
committerGitHub <noreply@github.com>2020-09-08 20:20:19 +0200
commit9f5672672bd61f7149d2a165b49f0617a1a9fe8e (patch)
treead3d62c5c167c6a75edf67a88c20341c77566c7e /pygments/lexers/haxe.py
parentd9a9e9ee40eb9815ecc3d9ec9d6f5e57499009d2 (diff)
downloadpygments-git-9f5672672bd61f7149d2a165b49f0617a1a9fe8e.tar.gz
all: remove "u" string prefix (#1536)
* all: remove "u" string prefix * util: remove unirange Since Python 3.3, all builds are wide unicode compatible. * unistring: remove support for narrow-unicode builds which stopped being relevant with Python 3.3
Diffstat (limited to 'pygments/lexers/haxe.py')
-rw-r--r--pygments/lexers/haxe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/haxe.py b/pygments/lexers/haxe.py
index 0a58aefc..f95e4556 100644
--- a/pygments/lexers/haxe.py
+++ b/pygments/lexers/haxe.py
@@ -79,7 +79,7 @@ class HaxeLexer(ExtendedRegexLexer):
if proc in ['error']:
ctx.stack.append('preproc-error')
- yield match.start(), Comment.Preproc, u'#' + proc
+ yield match.start(), Comment.Preproc, '#' + proc
ctx.pos = match.end()
tokens = {