Record select().

This commit is contained in:
Mike Pall
2010-09-13 01:21:44 +02:00
parent 847b9cf253
commit 4ba0eb5f80
2 changed files with 43 additions and 1 deletions

View File

@@ -163,7 +163,7 @@ LJLIB_CF(unpack)
return n;
}
LJLIB_CF(select)
LJLIB_CF(select) LJLIB_REC(.)
{
int32_t n = (int32_t)(L->top - L->base);
if (n >= 1 && tvisstr(L->base) && *strVdata(L->base) == '#') {