summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtxrun.lua6
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua6
-rw-r--r--scripts/context/stubs/unix/mtxrun6
3 files changed, 18 insertions, 0 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index 4604b9bde..8ee32ca2d 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -1099,6 +1099,11 @@ function table.unique(old)
return new
end
+-- function table.sorted(t,...)
+-- table.sort(t,...)
+-- return t -- still sorts in-place
+-- end
+
end -- of closure
@@ -7042,6 +7047,7 @@ end
xml.privatetoken = unescaped
xml.unprivatized = unprivatized
+xml.privatecodes = privates_n
local function handle_hex_entity(str)
local h = hcache[str]
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index 4604b9bde..8ee32ca2d 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -1099,6 +1099,11 @@ function table.unique(old)
return new
end
+-- function table.sorted(t,...)
+-- table.sort(t,...)
+-- return t -- still sorts in-place
+-- end
+
end -- of closure
@@ -7042,6 +7047,7 @@ end
xml.privatetoken = unescaped
xml.unprivatized = unprivatized
+xml.privatecodes = privates_n
local function handle_hex_entity(str)
local h = hcache[str]
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index 4604b9bde..8ee32ca2d 100644
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -1099,6 +1099,11 @@ function table.unique(old)
return new
end
+-- function table.sorted(t,...)
+-- table.sort(t,...)
+-- return t -- still sorts in-place
+-- end
+
end -- of closure
@@ -7042,6 +7047,7 @@ end
xml.privatetoken = unescaped
xml.unprivatized = unprivatized
+xml.privatecodes = privates_n
local function handle_hex_entity(str)
local h = hcache[str]