diff options
Diffstat (limited to 'py/makeqstrdata.py')
-rw-r--r-- | py/makeqstrdata.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py index c5ad708e89..f231a5d861 100644 --- a/py/makeqstrdata.py +++ b/py/makeqstrdata.py @@ -8,6 +8,9 @@ if platform.python_version_tuple()[0] == '2': elif platform.python_version_tuple()[0] == '3': from html.entities import codepoint2name +# add some custom names to map characters that aren't in HTML +codepoint2name[ord('.')] = 'dot' + # this must match the equivalent function in qstr.c def compute_hash(qstr): hash = 0 |