diff options
author | Hans Hagen <pragma@wxs.nl> | 2014-02-14 17:07:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2014-02-14 17:07:00 +0100 |
commit | 244a447d70f406e1341a56016564518013496a32 (patch) | |
tree | 550e47f97400c705f570c5376650e1f6ef1f634f /tex/context/base/util-tab.lua | |
parent | f4f8db5c9230c293f454b335b777d211840463a7 (diff) | |
download | context-244a447d70f406e1341a56016564518013496a32.tar.gz |
beta 2014.02.14 17:07
Diffstat (limited to 'tex/context/base/util-tab.lua')
-rw-r--r-- | tex/context/base/util-tab.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tex/context/base/util-tab.lua b/tex/context/base/util-tab.lua index ae44269bb..d235520c4 100644 --- a/tex/context/base/util-tab.lua +++ b/tex/context/base/util-tab.lua @@ -316,7 +316,7 @@ function table.fastserialize(t,prefix) -- not sorted -- only number and string indices (currently) - local r = { prefix or "return" } + local r = { type(prefix) == "string" and prefix or "return" } local m = 1 local function fastserialize(t,outer) -- no mixes @@ -376,7 +376,6 @@ function table.fastserialize(t,prefix) end return r end - return concat(fastserialize(t,true)) end |