From 6871fef86f6ec11946c7c1a814b194313de07850 Mon Sep 17 00:00:00 2001
From: Khaled Hosny <khaledhosny@eglug.org>
Date: Tue, 4 Oct 2011 01:47:49 +0200
Subject: One more step to get it working

---
 luaotfload.dtx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'luaotfload.dtx')

diff --git a/luaotfload.dtx b/luaotfload.dtx
index 24e82c3..6cf553c 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -511,6 +511,14 @@ function table.reversed(t)
         return tt
     end
 end
+
+function table.derive(parent)
+    local child = { }
+    if parent then
+        setmetatable(child,{ __index = parent })
+    end
+    return child
+end
 %    \end{macrocode}
 %
 % \subsection{Module loading}
-- 
cgit v1.2.3

