diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-05-16 14:22:50 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-05-16 14:22:50 +0100 |
commit | 19e1d97fcb62464d9a5e86f325e19b8731a7fa74 (patch) | |
tree | 7c0901f6e1d7688d51faf14e0ffa3d8a452e4363 | |
parent | a82fbfa815f3412544c93eb0645a116d0bb73382 (diff) | |
download | lace-19e1d97fcb62464d9a5e86f325e19b8731a7fa74.tar.gz |
Include control type in error string
-rw-r--r-- | lib/lace/builtin.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lace/builtin.lua b/lib/lace/builtin.lua index 74cd34b..d911eb2 100644 --- a/lib/lace/builtin.lua +++ b/lib/lace/builtin.lua @@ -176,7 +176,7 @@ function builtin.define(compcontext, define, name, controltype, ...) local controlfn = _controlfn(compcontext, controltype) if not controlfn then - return compiler().error("Unknown control type", {3}) + return compiler().error("Unknown control type: " .. controltype, {3}) end local ctrltab, msg = controlfn(compcontext, controltype, ...) |