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