diff options
author | Marius <mariausol@gmail.com> | 2014-02-14 18:20:22 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2014-02-14 18:20:22 +0200 |
commit | 088de88944c1f2254250bb448c7371a87ff7ee39 (patch) | |
tree | e6fda41d633606d832db5bacfef2d9bd05e6c881 /tex/context/base/util-tab.lua | |
parent | 43b2c43c53673bbaebc0cec57d32c4609c026cd9 (diff) | |
download | context-088de88944c1f2254250bb448c7371a87ff7ee39.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 |