diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-11-07 23:16:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-11-07 23:16:00 +0100 |
commit | 7322c8238e527f50b0cd50b35b231b2734a869ba (patch) | |
tree | 9bfd100e686d7e8e10672ab8e953a9ea67a5394e /tex/context/base/char-ini.lua | |
parent | 1fcc520803951a61b5a08baf6c1cdac8f7111e75 (diff) | |
download | context-7322c8238e527f50b0cd50b35b231b2734a869ba.tar.gz |
beta 2012.11.07 23:16
Diffstat (limited to 'tex/context/base/char-ini.lua')
-rw-r--r-- | tex/context/base/char-ini.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/char-ini.lua b/tex/context/base/char-ini.lua index 778035ff4..6e14982c7 100644 --- a/tex/context/base/char-ini.lua +++ b/tex/context/base/char-ini.lua @@ -393,6 +393,8 @@ local is_mark = allocate ( tohash { "mn", "ms", } ) +-- to be redone: store checked characters + characters.is_character = is_character characters.is_letter = is_letter characters.is_command = is_command @@ -402,7 +404,7 @@ characters.is_mark = is_mark local mt = { -- yes or no ? __index = function(t,k) if type(k) == "number" then - local c = characters.data[k].category + local c = data[k].category return c and rawget(t,c) else -- avoid auto conversion in data.characters lookups |