summaryrefslogtreecommitdiff
path: root/lib/lace/compiler.lua
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-17 17:38:03 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-17 17:38:03 +0100
commit141e868d75c56ede9165d361bcdc84e162443753 (patch)
tree9fb392cb97ef8ec509f230fac2463d3a16e8d294 /lib/lace/compiler.lua
parent49ab9c94a11ac988f34c63c8cf96dd2ba56b2ad7 (diff)
downloadlace-141e868d75c56ede9165d361bcdc84e162443753.tar.gz
LACE: More error normalisation, and error rendering capability
Diffstat (limited to 'lib/lace/compiler.lua')
-rw-r--r--lib/lace/compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lace/compiler.lua b/lib/lace/compiler.lua
index 4fd975b..1b0b21a 100644
--- a/lib/lace/compiler.lua
+++ b/lib/lace/compiler.lua
@@ -124,7 +124,7 @@ local function internal_compile_ruleset(compcontext, sourcename, content, suppre
-- There's no unconditional result and no default, fake up a default and
-- then use it.
if not suppress_default and not uncond and not result then
- return false, { msg = "No result set whatsoever", words = {} }
+ return err.error("No result set whatsoever")
end
if not suppress_default and not uncond then