From 7d7e0d3c8d778650105cfb479f31a2bb54d69d50 Mon Sep 17 00:00:00 2001 From: Marius Date: Thu, 19 Aug 2010 10:29:42 +0300 Subject: beta 2010.08.19 01:08 --- tex/context/base/l-boolean.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tex/context/base/l-boolean.lua') diff --git a/tex/context/base/l-boolean.lua b/tex/context/base/l-boolean.lua index cf8dc0ac8..cf92d2f41 100644 --- a/tex/context/base/l-boolean.lua +++ b/tex/context/base/l-boolean.lua @@ -6,10 +6,11 @@ if not modules then modules = { } end modules ['l-boolean'] = { license = "see context related readme files" } -boolean = boolean or { } - local type, tonumber = type, tonumber +boolean = boolean or { } +local boolean = boolean + function boolean.tonumber(b) if b then return 1 else return 0 end end -- cgit v1.2.3