| 1296 | |
| 1297 | |
| 1298 | static void funcstat (LexState *ls, int line) { |
| 1299 | /* funcstat -> FUNCTION funcname body */ |
| 1300 | int needself; |
| 1301 | expdesc v, b; |
| 1302 | luaX_next(ls); /* skip FUNCTION */ |
| 1303 | needself = funcname(ls, &v); |
| 1304 | body(ls, &b, needself, line); |
| 1305 | luaK_storevar(ls->fs, &v, &b); |
| 1306 | luaK_fixline(ls->fs, line); /* definition `happens' in the first line */ |
| 1307 | } |
| 1308 | |
| 1309 | |
| 1310 | static void exprstat (LexState *ls) { |
no test coverage detected