From 43551c8898f9037ac213bcd65844444cdd7a6e54 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 13 May 2012 22:35:49 +0100 Subject: Allow access to the loader and compilers for internal operations --- lib/lace/compiler.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lace/compiler.lua b/lib/lace/compiler.lua index 538c27b..99084e3 100644 --- a/lib/lace/compiler.lua +++ b/lib/lace/compiler.lua @@ -149,6 +149,8 @@ local function compile_ruleset(ctx, src, cnt) end return { + internal_loader = _loader, + internal_compile = internal_compile_ruleset, compile = compile_ruleset, error = _error, } \ No newline at end of file -- cgit v1.2.1