From f7e42e3811d7e528d0487acdb33524595a31c947 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sat, 18 May 2013 11:09:54 +0200 Subject: add fallback for older luatexbase --- luaotfload-extralibs.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3