1
0
Fork 0

no comma after last <name>

This commit is contained in:
mfranz 2006-10-21 10:50:42 +00:00
parent 018f89b932
commit 7f31a17f72

View file

@ -61,9 +61,11 @@
var names = js.getChildren("name"); var names = js.getChildren("name");
if (size(names)) { if (size(names)) {
t ~= " Used for: "; t ~= " Used for: ";
var last = pop(names);
foreach (var n; names) { foreach (var n; names) {
t ~= '"' ~ value(n) ~ '", '; t ~= '"' ~ value(n) ~ '", ';
} }
t ~= '"' ~ value(last) ~ '"';
} }
t ~= "\n\n"; t ~= "\n\n";
t ~= items(js.getChildren("axis"), "Axis"); t ~= items(js.getChildren("axis"), "Axis");