Diff

util/rsm.lua @ 11428:d91def9fcfdd

util.rsm: Correctly coerce integer value for <index> (fix #1642)
author Kim Alvefur <zash@zash.se>
date Sat, 06 Mar 2021 18:26:50 +0100 (2021-03-06)
parent 11426:c7948491c5e4
child 12975:d10957394a3c
line wrap: on
line diff
--- a/util/rsm.lua	Sat Mar 06 18:22:52 2021 +0100
+++ b/util/rsm.lua	Sat Mar 06 18:26:50 2021 +0100
@@ -65,6 +65,9 @@
 	max = function (st, data)
 		st:text_tag("max", inttostr(data));
 	end;
+	index = function (st, data)
+		st:text_tag("index", inttostr(data));
+	end;
 	count = function (st, data)
 		st:text_tag("count", inttostr(data));
 	end;