| 1801 | |
| 1802 | |
| 1803 | static void funcstat (LexState *ls, int line) { |
| 1804 | /* funcstat -> FUNCTION funcname body */ |
| 1805 | int ismethod; |
| 1806 | expdesc v, b; |
| 1807 | luaX_next(ls); /* skip FUNCTION */ |
| 1808 | ismethod = funcname(ls, &v); |
| 1809 | body(ls, &b, ismethod, line); |
| 1810 | luaK_storevar(ls->fs, &v, &b); |
| 1811 | luaK_fixline(ls->fs, line); /* definition "happens" in the first line */ |
| 1812 | } |
| 1813 | |
| 1814 | |
| 1815 | static void exprstat (LexState *ls) { |
no test coverage detected