diff options
author | Marius <mariausol@gmail.com> | 2013-05-12 23:20:20 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-05-12 23:20:20 +0300 |
commit | 5dfe20ad3addaa59321312156eb368a37b27bb4a (patch) | |
tree | e18af5d38ec706e7fc6332389593ce56330a2084 /tex/generic/context/luatex/luatex-basics-gen.lua | |
parent | e2826d557235ef9db2f9f8abb8c7b03496efbc0b (diff) | |
download | context-5dfe20ad3addaa59321312156eb368a37b27bb4a.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, |