| 81 | |
| 82 | |
| 83 | static void addfield (lua_State *L, luaL_Buffer *b, int i) { |
| 84 | lua_rawgeti(L, 1, i); |
| 85 | if (!lua_isstring(L, -1)) |
| 86 | luaL_error(L, "invalid value (%s) at index %d in table for " |
| 87 | LUA_QL("concat"), luaL_typename(L, -1), i); |
| 88 | luaL_addvalue(b); |
| 89 | } |
| 90 | |
| 91 | |
| 92 | static int tconcat (lua_State *L) { |
no test coverage detected