| 1210 | |
| 1211 | |
| 1212 | static void funcstat (LexState *ls, int line) { |
| 1213 | /* funcstat -> FUNCTION funcname body */ |
| 1214 | int needself; |
| 1215 | expdesc v, b; |
| 1216 | luaX_next(ls); /* skip FUNCTION */ |
| 1217 | needself = funcname(ls, &v); |
| 1218 | body(ls, &b, needself, line); |
| 1219 | luaK_storevar(ls->fs, &v, &b); |
| 1220 | luaK_fixline(ls->fs, line); /* definition `happens' in the first line */ |
| 1221 | } |
| 1222 | |
| 1223 | |
| 1224 | static void exprstat (LexState *ls) { |
no test coverage detected