diff options
Diffstat (limited to 'prose.lua')
-rw-r--r-- | prose.lua | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -93,5 +93,12 @@ extensions.meta = function(S,text) local fn = assert(load(string.format("return {%s}", text),"meta", "t")) S.meta = fn() end +setmetatable(extensions, {__index = function(t, k) + return function(S, text) + io.stderr:write("warning: unknown extension "..k.."\n") + return text + end +end}) return prose + |