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