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