util/xml.lua
changeset 11131 1d9cd1abc660
parent 8558 4f0f5b49bb03
child 12125 2162e86029b6
--- a/util/xml.lua	Sat Oct 03 15:09:12 2020 +0200
+++ b/util/xml.lua	Sat Oct 03 16:22:56 2020 +0200
@@ -71,7 +71,7 @@
 		if ok then
 			return stanza.tags[1];
 		else
-			return ok, err.." (line "..line..", col "..col..")";
+			return ok, ("%s (line %d, col %d))"):format(err, line, col);
 		end
 	end;
 end)();