| 1770 | |
| 1771 | |
| 1772 | static void funcstat (LexState *ls, int line) { |
| 1773 | /* funcstat -> FUNCTION funcname body */ |
| 1774 | int ismethod; |
| 1775 | expdesc v, b; |
| 1776 | luaX_next(ls); /* skip FUNCTION */ |
| 1777 | ismethod = funcname(ls, &v); |
| 1778 | body(ls, &b, ismethod, line); |
| 1779 | luaK_storevar(ls->fs, &v, &b); |
| 1780 | luaK_fixline(ls->fs, line); /* definition "happens" in the first line */ |
| 1781 | } |
| 1782 | |
| 1783 | |
| 1784 | static void exprstat (LexState *ls) { |
no test coverage detected