** Add nil to list of constants and return its index. */
| 644 | ** Add nil to list of constants and return its index. |
| 645 | */ |
| 646 | static int nilK (FuncState *fs) { |
| 647 | TValue k, v; |
| 648 | setnilvalue(&v); |
| 649 | /* cannot use nil as key; instead use table itself to represent nil */ |
| 650 | sethvalue(fs->ls->L, &k, fs->ls->h); |
| 651 | return addk(fs, &k, &v); |
| 652 | } |
| 653 | |
| 654 | |
| 655 | /* |