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