diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-18 11:09:54 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-18 11:09:54 +0200 |
commit | f7e42e3811d7e528d0487acdb33524595a31c947 (patch) | |
tree | ddf9794c5270d4b6bccf16e75274ac2410fa8415 /luaotfload-extralibs.lua | |
parent | ca3df8adefc6534fa1de20cf0794b7af9af455c6 (diff) | |
download | luaotfload-f7e42e3811d7e528d0487acdb33524595a31c947.tar.gz |
add fallback for older luatexbase
Diffstat (limited to 'luaotfload-extralibs.lua')
-rw-r--r-- | luaotfload-extralibs.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/luaotfload-extralibs.lua b/luaotfload-extralibs.lua index 2236631..618808f 100644 --- a/luaotfload-extralibs.lua +++ b/luaotfload-extralibs.lua @@ -230,7 +230,12 @@ attributes.private = attributes.private or function (attr_name) return res end -attributes.unsetvalue = luatexbase.get_unset_value() +if luatexbase.get_unset_value then + attributes.unsetvalue = luatexbase.get_unset_value() +else -- old luatexbase + attributes.unsetvalue = (luatexbase.luatexversion < 37) and -1 + or -2147483647 +end ----------------------------------------------------------------------- --- luat-sto |