summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-05-13 22:35:49 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-05-13 22:35:49 +0100
commit43551c8898f9037ac213bcd65844444cdd7a6e54 (patch)
treea333444210786acc16ada19975d92cdeab03ed97
parent222c7e0fdab6e5e1cf1bcebeb33ffc4e57b134e1 (diff)
downloadlace-43551c8898f9037ac213bcd65844444cdd7a6e54.tar.gz
Allow access to the loader and compilers for internal operations
-rw-r--r--lib/lace/compiler.lua2
1 files changed, 2 insertions, 0 deletions
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