| 133 | |
| 134 | |
| 135 | static void addfield (lua_State *L, luaL_Buffer *b, int i) { |
| 136 | lua_rawgeti(L, 1, i); |
| 137 | if (!lua_isstring(L, -1)) |
| 138 | luaL_error(L, "invalid value (%s) at index %d in table for " |
| 139 | LUA_QL("concat"), luaL_typename(L, -1), i); |
| 140 | luaL_addvalue(b); |
| 141 | } |
| 142 | |
| 143 | |
| 144 | static int tconcat (lua_State *L) { |
no test coverage detected