diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-05-12 22:16:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-05-12 22:16:00 +0200 |
commit | b0221030c274fe104def875f82091a1a0c08e0ae (patch) | |
tree | 06f208a64edb628db27809a481f4e513ccd58ee1 /tex/generic/context/luatex/luatex-basics-gen.lua | |
parent | b20f7abde251f9d232e7f4b6f26ad00ebd383f4f (diff) | |
download | context-b0221030c274fe104def875f82091a1a0c08e0ae.tar.gz |
beta 2013.05.12 22:16
Diffstat (limited to 'tex/generic/context/luatex/luatex-basics-gen.lua')
-rw-r--r-- | tex/generic/context/luatex/luatex-basics-gen.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tex/generic/context/luatex/luatex-basics-gen.lua b/tex/generic/context/luatex/luatex-basics-gen.lua index 0b7232b76..1c4357fbc 100644 --- a/tex/generic/context/luatex/luatex-basics-gen.lua +++ b/tex/generic/context/luatex/luatex-basics-gen.lua @@ -11,9 +11,14 @@ if context then os.exit() end -local dummyfunction = function() end ------ dummyreporter = function(c) return function(...) texio.write_nl(c .. " : " .. string.format(...)) end end -local dummyreporter = function(c) return function(...) texio.write_nl(c .. " : " .. string.formatters(...)) end end +local dummyfunction = function() +end + +local dummyreporter = function(c) + return function(...) + (texio.reporter or texio.write_nl)(c .. " : " .. string.formatters(...)) + end +end statistics = { register = dummyfunction, |