699:30f5dcb654bd | 700:9666ad50a353 |
---|---|
51 for k,v in pairs(curr) do | 51 for k,v in pairs(curr) do |
52 t_insert(s, tostring(k)); | 52 t_insert(s, tostring(k)); |
53 t_insert(s, " = "); | 53 t_insert(s, " = "); |
54 if type(v) == "function" then | 54 if type(v) == "function" then |
55 t_insert(s, "action") | 55 t_insert(s, "action") |
56 elseif type(v) == "table" then | |
57 t_insert(s, "list"); | |
56 else | 58 else |
57 t_insert(s, tostring(v)); | 59 t_insert(s, tostring(v)); |
58 end | 60 end |
59 t_insert(s, "\n"); | 61 t_insert(s, "\n"); |
60 end | 62 end |