| 1426 | |
| 1427 | |
| 1428 | static void localfunc (LexState *ls) { |
| 1429 | expdesc b; |
| 1430 | FuncState *fs = ls->fs; |
| 1431 | new_localvar(ls, str_checkname(ls)); /* new local variable */ |
| 1432 | adjustlocalvars(ls, 1); /* enter its scope */ |
| 1433 | body(ls, &b, 0, ls->linenumber); /* function created in next register */ |
| 1434 | /* debug information will only see the variable after this point! */ |
| 1435 | getlocvar(fs, b.u.info)->startpc = fs->pc; |
| 1436 | } |
| 1437 | |
| 1438 | |
| 1439 | static void localstat (LexState *ls) { |
no test coverage detected