| 158 | |
| 159 | |
| 160 | static void addfield (lua_State *L, luaL_Buffer *b, lua_Integer i) { |
| 161 | lua_geti(L, 1, i); |
| 162 | if (!lua_isstring(L, -1)) |
| 163 | luaL_error(L, "invalid value (%s) at index %d in table for 'concat'", |
| 164 | luaL_typename(L, -1), i); |
| 165 | luaL_addvalue(b); |
| 166 | } |
| 167 | |
| 168 | |
| 169 | static int tconcat (lua_State *L) { |
no test coverage detected