# # # patch "monotone.texi" # from [331fedc2723427644981ae1a926e942a32b73453] # to [20dc09d46cf88327a730b2f488ca8e7be8185745] # # patch "std_hooks.lua" # from [27557425818f1ccb7202d587cc70769931f716cd] # to [06c104b6405259dfb65cc3d5dbf0783d1f9a419c] # ============================================================ --- monotone.texi 331fedc2723427644981ae1a926e942a32b73453 +++ monotone.texi 20dc09d46cf88327a730b2f488ca8e7be8185745 @@ -9218,7 +9218,7 @@ @section Automation A callback function: @verbatim -[1] = nil --[[ function ]]--; +[1] = nil --[[function]]; @end verbatim @item Error conditions: ============================================================ --- std_hooks.lua 27557425818f1ccb7202d587cc70769931f716cd +++ std_hooks.lua 06c104b6405259dfb65cc3d5dbf0783d1f9a419c @@ -1162,13 +1162,13 @@ dump._boolean = function(b) if (b) dump._string = function(s) return string.format("%q", s) end dump._number = function(n) return tostring(n) end dump._boolean = function(b) if (b) then return "true" end return "false" end -dump._userdata = function(u) return "nil --[[ userdata ]]--" end +dump._userdata = function(u) return "nil --[[userdata]]" end -- if we really need to return / serialize functions we could do it -- like address@hidden did here: http://lua-users.org/wiki/TablePersistence -dump._function = function(f) return "nil --[[ function ]]--" end +dump._function = function(f) return "nil --[[function]]" end dump._nil = function(n) return "nil" end -dump._thread = function(t) return "nil --[[ thread ]]--" end -dump._lightuserdata = function(l) return "nil --[[ lightuserdata ]]--" end +dump._thread = function(t) return "nil --[[thread]]" end +dump._lightuserdata = function(l) return "nil --[[lightuserdata]]" end dump._table = function(t) local buf = ''