util/serialization.lua

changeset 2151
603134825bdb
parent 2150
5590c13552ab
child 2222
81b4e738e4d3
equal deleted inserted replaced
2150:5590c13552ab 2151:603134825bdb
45 if ind == 0 then 45 if ind == 0 then
46 _simplesave(v, 0, t, func); 46 _simplesave(v, 0, t, func);
47 else 47 else
48 _simplesave(v, ind+1, t, func); 48 _simplesave(v, ind+1, t, func);
49 end 49 end
50 func(t, ",\n"); 50 func(t, ";\n");
51 end 51 end
52 func(t, indent(ind-1)); 52 func(t, indent(ind-1));
53 func(t, "}"); 53 func(t, "}");
54 else 54 else
55 func(t, "{}"); 55 func(t, "{}");

mercurial