scansion/console.lua

changeset 181
3a9b9c98304a
parent 174
662bd8c5ae28
equal deleted inserted replaced
180:249197af6c01 181:3a9b9c98304a
49 local l = {}; 49 local l = {};
50 if data.annotation then 50 if data.annotation then
51 table.insert(l, action.annotation); 51 table.insert(l, action.annotation);
52 end 52 end
53 table.insert(l, data.object.." "..action); 53 table.insert(l, data.object.." "..action);
54 if data.extra and obj_type == "client" and (action == "sends" or action == "receives") then 54 if data.extra and (obj_type == "client" or obj_type == "component") and (action == "sends" or action == "receives") then
55 table.insert(l, "\n"..pretty(lines(data.extra), 4).."\n"); 55 table.insert(l, "\n"..pretty(lines(data.extra), 4).."\n");
56 end 56 end
57 return lines(l); 57 return lines(l);
58 end; 58 end;
59 59

mercurial