scansion/stanzacmp.lua

changeset 32
0eabed6c91e7
parent 6
0c94ea0cabec
child 33
227bc1fe52e9
--- a/scansion/stanzacmp.lua	Sat Sep 19 21:57:48 2015 +0100
+++ b/scansion/stanzacmp.lua	Tue Sep 22 12:04:57 2015 +0200
@@ -37,7 +37,7 @@
 		if type(child) == "table" or child:match("%S") then
 			local match;
 			local child2 = stanza2[stanza2_pos];
-			while child2 and not(type(child2) == "table" or child:match("%S")) do
+			while child2 and not(type(child2) == "table" or child2:match("%S")) do
 				stanza2_pos = stanza2_pos + 1;
 				child2 = stanza2[stanza2_pos];
 			end

mercurial