** Add nil to list of constants and return its index. */
| 630 | ** Add nil to list of constants and return its index. |
| 631 | */ |
| 632 | static int nilK (FuncState *fs) { |
| 633 | TValue k, v; |
| 634 | setnilvalue(&v); |
| 635 | /* cannot use nil as key; instead use table itself to represent nil */ |
| 636 | sethvalue(fs->ls->L, &k, fs->ls->h); |
| 637 | return addk(fs, &k, &v); |
| 638 | } |
| 639 | |
| 640 | |
| 641 | /* |