Changeset

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
parents 11427:83f5499d1f10
children 11429:ef623d719894
files util/rsm.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;