aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/rsm.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/rsm.lua b/util/rsm.lua
index b5afd62a..aade3c19 100644
--- a/util/rsm.lua
+++ b/util/rsm.lua
@@ -61,7 +61,13 @@ local element_generators = setmetatable({
else
st:tag("before"):text(tostring(data)):up();
end
- end
+ end;
+ max = function (st, data)
+ st:tag("max"):text(inttostr(data)):up();
+ end;
+ count = function (st, data)
+ st:tag("count"):text(inttostr(data)):up();
+ end;
}, {
__index = function(_, name)
return function(st, data)