diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-03-09 20:15:05 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-03-09 20:15:05 +0100 |
commit | dc98ffdc842271d05903846b460fab90d4d83739 (patch) | |
tree | 49603cd805408ebdde3a7eafc59c40279dc7e9ad /tex/context/base/char-ini.lua | |
parent | 08128a9710f7a34e16f7487b3bccfe7feadb36f1 (diff) | |
download | context-dc98ffdc842271d05903846b460fab90d4d83739.tar.gz |
2015-03-09 19:29:00
Diffstat (limited to 'tex/context/base/char-ini.lua')
-rw-r--r-- | tex/context/base/char-ini.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/char-ini.lua b/tex/context/base/char-ini.lua index 267b51b46..0f632935d 100644 --- a/tex/context/base/char-ini.lua +++ b/tex/context/base/char-ini.lua @@ -945,6 +945,7 @@ if not characters.lhash then -- if k < 0x11000 then local l = v.lccode if l then + -- we have an uppercase if type(l) == "number" then lhash[utfchar(k)] = utfchar(l) elseif #l == 2 then @@ -955,6 +956,7 @@ if not characters.lhash then else local u = v.uccode if u then + -- we have an lowercase if type(u) == "number" then uhash[utfchar(k)] = utfchar(u) elseif #u == 2 then @@ -979,8 +981,8 @@ if not characters.lhash then if storage then storage.register("characters/lhash", lhash, "characters.lhash") - storage.register("characters/uhash", lhash, "characters.uhash") - storage.register("characters/shash", lhash, "characters.shash") + storage.register("characters/uhash", uhash, "characters.uhash") + storage.register("characters/shash", shash, "characters.shash") end end |