summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-04-13 10:40:15 +0300
committerMarius <mariausol@gmail.com>2011-04-13 10:40:15 +0300
commit930f95164ea82514ff24bf71c6baddd40a569766 (patch)
treeafb4207c4831a30390a0e2f2c76354dd583da27f /scripts
parent2721c3d0c46d65ee01f935ddd959abdd53212377 (diff)
downloadcontext-930f95164ea82514ff24bf71c6baddd40a569766.tar.gz
beta 2011.04.13 09:23
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtxrun.lua10
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua10
-rw-r--r--scripts/context/stubs/unix/mtxrun10
3 files changed, 15 insertions, 15 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index 9ee6ed0e4..9ce73a168 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -4547,7 +4547,7 @@ function inspect(i) -- global function
if ti == "table" then
table.print(i,"table")
elseif is_node and is_node(i) then
- print(node.sequenced(i))
+ table.print(nodes.astable(i),tostring(i))
else
print(tostring(i))
end
@@ -4842,7 +4842,7 @@ local function set(t,what,newvalue)
else
value = is_boolean(value,value)
end
- w = escapedpattern(w,true)
+ w = "^" .. escapedpattern(w,true) .. "$" -- new: anchored
for name, functions in next, data do
if done[name] then
-- prevent recursion due to wildcards
@@ -5057,11 +5057,11 @@ local flags = environment and environment.engineflags
if flags then
if trackers and flags.trackers then
- setters.initialize("flags","trackers", utilities.parsers.settings_to_hash(flags.trackers))
+ setters.initialize("flags","trackers", settings_to_hash(flags.trackers))
-- t_enable(flags.trackers)
end
if directives and flags.directives then
- setters.initialize("flags","directives", utilities.parsers.settings_to_hash(flags.directives))
+ setters.initialize("flags","directives", settings_to_hash(flags.directives))
-- d_enable(flags.directives)
end
end
@@ -10724,7 +10724,7 @@ function caches.is_writable(filepath,filename)
return file.is_writable(tmaname)
end
-local saveoptions = { reduce = true }
+local saveoptions = { compact = true }
function caches.savedata(filepath,filename,data,raw)
local tmaname, tmcname = caches.setluanames(filepath,filename)
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index 9ee6ed0e4..9ce73a168 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -4547,7 +4547,7 @@ function inspect(i) -- global function
if ti == "table" then
table.print(i,"table")
elseif is_node and is_node(i) then
- print(node.sequenced(i))
+ table.print(nodes.astable(i),tostring(i))
else
print(tostring(i))
end
@@ -4842,7 +4842,7 @@ local function set(t,what,newvalue)
else
value = is_boolean(value,value)
end
- w = escapedpattern(w,true)
+ w = "^" .. escapedpattern(w,true) .. "$" -- new: anchored
for name, functions in next, data do
if done[name] then
-- prevent recursion due to wildcards
@@ -5057,11 +5057,11 @@ local flags = environment and environment.engineflags
if flags then
if trackers and flags.trackers then
- setters.initialize("flags","trackers", utilities.parsers.settings_to_hash(flags.trackers))
+ setters.initialize("flags","trackers", settings_to_hash(flags.trackers))
-- t_enable(flags.trackers)
end
if directives and flags.directives then
- setters.initialize("flags","directives", utilities.parsers.settings_to_hash(flags.directives))
+ setters.initialize("flags","directives", settings_to_hash(flags.directives))
-- d_enable(flags.directives)
end
end
@@ -10724,7 +10724,7 @@ function caches.is_writable(filepath,filename)
return file.is_writable(tmaname)
end
-local saveoptions = { reduce = true }
+local saveoptions = { compact = true }
function caches.savedata(filepath,filename,data,raw)
local tmaname, tmcname = caches.setluanames(filepath,filename)
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index 9ee6ed0e4..9ce73a168 100644
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -4547,7 +4547,7 @@ function inspect(i) -- global function
if ti == "table" then
table.print(i,"table")
elseif is_node and is_node(i) then
- print(node.sequenced(i))
+ table.print(nodes.astable(i),tostring(i))
else
print(tostring(i))
end
@@ -4842,7 +4842,7 @@ local function set(t,what,newvalue)
else
value = is_boolean(value,value)
end
- w = escapedpattern(w,true)
+ w = "^" .. escapedpattern(w,true) .. "$" -- new: anchored
for name, functions in next, data do
if done[name] then
-- prevent recursion due to wildcards
@@ -5057,11 +5057,11 @@ local flags = environment and environment.engineflags
if flags then
if trackers and flags.trackers then
- setters.initialize("flags","trackers", utilities.parsers.settings_to_hash(flags.trackers))
+ setters.initialize("flags","trackers", settings_to_hash(flags.trackers))
-- t_enable(flags.trackers)
end
if directives and flags.directives then
- setters.initialize("flags","directives", utilities.parsers.settings_to_hash(flags.directives))
+ setters.initialize("flags","directives", settings_to_hash(flags.directives))
-- d_enable(flags.directives)
end
end
@@ -10724,7 +10724,7 @@ function caches.is_writable(filepath,filename)
return file.is_writable(tmaname)
end
-local saveoptions = { reduce = true }
+local saveoptions = { compact = true }
function caches.savedata(filepath,filename,data,raw)
local tmaname, tmcname = caches.setluanames(filepath,filename)