** Add nil to list of constants and return its index. */
| 506 | ** Add nil to list of constants and return its index. |
| 507 | */ |
| 508 | static int nilK (FuncState *fs) { |
| 509 | TValue k, v; |
| 510 | setnilvalue(&v); |
| 511 | /* cannot use nil as key; instead use table itself to represent nil */ |
| 512 | sethvalue(fs->ls->L, &k, fs->ls->h); |
| 513 | return addk(fs, &k, &v); |
| 514 | } |
| 515 | |
| 516 | |
| 517 | /* |