| 1471 | |
| 1472 | |
| 1473 | static void funcstat (LexState *ls, int line) { |
| 1474 | /* funcstat -> FUNCTION funcname body */ |
| 1475 | int ismethod; |
| 1476 | expdesc v, b; |
| 1477 | luaX_next(ls); /* skip FUNCTION */ |
| 1478 | ismethod = funcname(ls, &v); |
| 1479 | body(ls, &b, ismethod, line); |
| 1480 | luaK_storevar(ls->fs, &v, &b); |
| 1481 | luaK_fixline(ls->fs, line); /* definition `happens' in the first line */ |
| 1482 | } |
| 1483 | |
| 1484 | |
| 1485 | static void exprstat (LexState *ls) { |
no test coverage detected