Mercurial Hosting > luan
diff core/src/luan/modules/Io.luan @ 424:750a68eceb1d
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 01 May 2015 16:33:42 -0600 |
parents | af82b266fe89 |
children | 5b36f663a1b8 |
line wrap: on
line diff
--- a/core/src/luan/modules/Io.luan Fri May 01 16:30:28 2015 -0600 +++ b/core/src/luan/modules/Io.luan Fri May 01 16:33:42 2015 -0600 @@ -61,6 +61,8 @@ if is_first then is_first = false else %>, <% end if type(key) == "string" and key.match "^[a-zA-Z_][a-zA-Z_0-9]*$" ~= nil then %><%=key%><% + elseif type(key) == "table" then + %>[<<%=key%>>]<% else %>[<%do_repr(key,done)%>]<% end