** Add nil to list of constants and return its index. */
| 499 | ** Add nil to list of constants and return its index. |
| 500 | */ |
| 501 | static int nilK (FuncState *fs) { |
| 502 | TValue k, v; |
| 503 | setnilvalue(&v); |
| 504 | /* cannot use nil as key; instead use table itself to represent nil */ |
| 505 | sethvalue(fs->ls->L, &k, fs->ls->h); |
| 506 | return addk(fs, &k, &v); |
| 507 | } |
| 508 | |
| 509 | |
| 510 | /* |